@kenlo/sds-design-system 0.9.9 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +58 -7
  2. package/components/Avatar/Avatar.css +22 -0
  3. package/components/Button/Button.css +95 -8
  4. package/components/Card/Card.css +16 -6
  5. package/components/Card/card-variants.js +18 -0
  6. package/components/Card/card.marko +12 -2
  7. package/components/Checkbox/Checkbox.css +56 -0
  8. package/components/ColorPicker/ColorPicker.css +25 -2
  9. package/components/ColorPicker/color-picker.marko +25 -4
  10. package/components/DatePicker/DatePicker.css +22 -0
  11. package/components/Floating/focus-when-ready.js +59 -0
  12. package/components/Incrementer/Incrementer.css +22 -0
  13. package/components/Input/Input.css +25 -2
  14. package/components/Menu/Menu.css +21 -11
  15. package/components/Menu/menu-variants.js +12 -0
  16. package/components/Menu/menu.marko +11 -7
  17. package/components/Pill/Pill.css +46 -0
  18. package/components/Radio/Radio.css +75 -0
  19. package/components/Select/Select.css +21 -1
  20. package/components/Select/select-options.js +10 -1
  21. package/components/Select/select.marko +112 -5
  22. package/components/Table/Table.css +73 -2
  23. package/components/Table/table-column-picker.marko +161 -0
  24. package/components/Table/table-logic.js +56 -0
  25. package/components/Table/table.marko +50 -12
  26. package/components/TextEditor/TextEditor.css +2 -2
  27. package/components/Toggle/Toggle.css +40 -0
  28. package/components/Tooltip/Tooltip.css +2 -2
  29. package/components/Uploader/Uploader.css +23 -0
  30. package/foundations/custom-scheme.js +128 -10
  31. package/foundations/fonts/OFL.txt +114 -0
  32. package/foundations/fonts/fonts.json +152 -0
  33. package/foundations/fonts/manrope-cyrillic-ext.woff2 +0 -0
  34. package/foundations/fonts/manrope-cyrillic.woff2 +0 -0
  35. package/foundations/fonts/manrope-greek.woff2 +0 -0
  36. package/foundations/fonts/manrope-latin-ext.woff2 +0 -0
  37. package/foundations/fonts/manrope-latin.woff2 +0 -0
  38. package/foundations/fonts/manrope-vietnamese.woff2 +0 -0
  39. package/foundations/tokens.css +1095 -15
  40. package/icons/generated/fluent-chevron-down-filled.marko +3 -0
  41. package/icons/generated/fluent-chevron-up-filled.marko +3 -0
  42. package/icons/generated/fluent-column-triple-regular.marko +3 -0
  43. package/icons/manifest.json +3 -0
  44. package/marko.json +3 -0
  45. package/package.json +8 -3
@@ -0,0 +1,3 @@
1
+ <!-- fluent-chevron-down-filled — generated from @fluentui/svg-icons.
2
+ Do not edit by hand; run `npm run gen:icons`. -->
3
+ <svg class=input.class fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M4.3 8.3a1 1 0 0 1 1.4 0l6.3 6.29 6.3-6.3a1 1 0 1 1 1.4 1.42l-7 7a1 1 0 0 1-1.4 0l-7-7a1 1 0 0 1 0-1.42"/></svg>
@@ -0,0 +1,3 @@
1
+ <!-- fluent-chevron-up-filled — generated from @fluentui/svg-icons.
2
+ Do not edit by hand; run `npm run gen:icons`. -->
3
+ <svg class=input.class fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M4.3 15.7a1 1 0 0 0 1.4 0L12 9.42l6.3 6.3a1 1 0 0 0 1.4-1.42l-7-7a1 1 0 0 0-1.4 0l-7 7a1 1 0 0 0 0 1.42"/></svg>
@@ -0,0 +1,3 @@
1
+ <!-- fluent-column-triple-regular — generated from @fluentui/svg-icons.
2
+ Do not edit by hand; run `npm run gen:icons`. -->
3
+ <svg class=input.class fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M4.5 21A2.5 2.5 0 0 1 2 18.5v-13A2.5 2.5 0 0 1 4.5 3h1A2.5 2.5 0 0 1 8 5.5v13A2.5 2.5 0 0 1 5.5 21zm-1-2.5a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-13a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1zm8 2.5A2.5 2.5 0 0 1 9 18.5v-13A2.5 2.5 0 0 1 11.5 3h1A2.5 2.5 0 0 1 15 5.5v13a2.5 2.5 0 0 1-2.5 2.5zm-1-2.5a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-13a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1zm5.5 0a2.5 2.5 0 0 0 2.5 2.5h1a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 0 19.5 3h-1A2.5 2.5 0 0 0 16 5.5zm2.5 1a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1z"/></svg>
@@ -11,13 +11,16 @@
11
11
  "CalendarRegular",
12
12
  "CheckmarkCircleFilled",
13
13
  "CheckmarkRegular",
14
+ "ChevronDownFilled",
14
15
  "ChevronDownRegular",
15
16
  "ChevronLeftRegular",
16
17
  "ChevronRightRegular",
18
+ "ChevronUpFilled",
17
19
  "ChevronUpRegular",
18
20
  "CircleHalfFillRegular",
19
21
  "ClockRegular",
20
22
  "ColorRegular",
23
+ "ColumnTripleRegular",
21
24
  "CropRegular",
22
25
  "DarkThemeRegular",
23
26
  "DeleteRegular",
package/marko.json CHANGED
@@ -41,6 +41,9 @@
41
41
  "<sds-header>": {
42
42
  "template": "./components/Header/header.marko"
43
43
  },
44
+ "<sds-table-column-picker>": {
45
+ "template": "./components/Table/table-column-picker.marko"
46
+ },
44
47
  "<sds-table>": {
45
48
  "template": "./components/Table/table.marko"
46
49
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kenlo/sds-design-system",
3
- "version": "0.9.9",
4
- "description": "SDS, the Site Design System — Marko 5 components for Kenlo's public products (Site, Landing Page, Blog)",
3
+ "version": "1.0.2",
4
+ "description": "SDS, the Site Design System \u2014 Marko 5 components for Kenlo's public products (Site, Landing Page, Blog)",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,7 +32,12 @@
32
32
  "test": "jest",
33
33
  "test:watch": "jest --watch",
34
34
  "gen:icons": "node scripts/gen-icons.mjs",
35
- "gen:contrast": "node scripts/gen-contrast-tokens.mjs"
35
+ "gen:contrast": "node scripts/gen-contrast-tokens.mjs",
36
+ "gen:font": "node scripts/gen-font.mjs",
37
+ "check:fonts": "node scripts/check-font-bucket.mjs",
38
+ "parity": "node scripts/parity.mjs",
39
+ "parity:css": "node scripts/css-parity.mjs",
40
+ "parity:defaults": "node scripts/defaults-parity.mjs"
36
41
  },
37
42
  "peerDependencies": {
38
43
  "marko": "^5.38.39"