Commit 28439ea
* New pfe-codeblock created
* initial commit wip
* wip
* update demo html
* wip
* working prototype
* update demo page
* update docs
* add dark theme support
* change dark to okaidia theme
* line numbers not working
* partialy working line numbers
* mostly working line numbers with alignment issue
* fix line number offset issue
* update for attribute changes
* test
* updating the location of the prism scss files
* adding the watch script for development purposes
For some reason the `watch` command wasn't there when I would run `npm run dev pfe-codeblock`.
* adding includes polyfill support for IE11
* following the code pattern from other elements for observers
I know that this element mirrors pfe-markdown so I'll need to go back and clean that up. I also added a watcher on characterData so if you change any of the text, the component updates the shadow DOM
* Added tests for codeblock attributes
* update with npm install
* update readme
* Update readme
* removing the unneeded discovery and changelog docs
* switching from pfe-color to pfe-codeblock-theme
* (fix): remove filter on spaces & line breaks
* (chore): add linebreaks in css markup examples with and without line-numbers
* update attributes to pfe-c-
* fix codeblock tests
* update themes for light and dark
* fix quote error in _general.scss
* update themes
* add ignore for .history
* wip
* npm audi
* broken, styles work in progress
* line number move
* package lock and git ignore
* add package lock git ignore and update index.html
* fixed branch and merge
* add package lock
* update colors for brand
* update colours for numbers and dividers
* update package locks
* package lock
* update codeblock
* make suggested code changes
* add back package-locks.json files
* add codeblock screenshot
* remove duplicate .history entry in .gitignore
* revert pfe-markdown package-lock
* requested changes
* update and remove lock files
* add elemants package-lock.json to .gitignore
* update lang code
* refactor get methods
* fix language attribute
* removing console.log statement
* fixing the React and Vue tests
* update package lock
* Fix theme spelling
* change index back to working version
* update after install
* fix storybook demo file
* changes from code review
* merge
* adding changelog
* remove unused files and update storybook content
Co-authored-by: Kyle Buchanan <[email protected]>
Co-authored-by: Diwanshi Pandey <[email protected]>
Co-authored-by: Alistair Mcgranaghan <[email protected]>
1 parent 45913c6 commit 28439ea
File tree
23 files changed
+1660
-1
lines changed- elements/pfe-codeblock
- demo
- src
- test
- test
23 files changed
+1660
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
Loading
0 commit comments