@codecademy/gamut 68.6.2-alpha.671e56.0 → 68.6.2-alpha.d2f2df.0

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 (107) hide show
  1. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.d.ts +2 -2
  2. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js +1 -1
  3. package/dist/Alert/elements.d.ts +2 -2
  4. package/dist/Anchor/index.d.ts +19 -9
  5. package/dist/Anchor/index.js +9 -6
  6. package/dist/BarChart/BarRow/elements.d.ts +47 -45
  7. package/dist/BarChart/utils/hooks.d.ts +2 -2
  8. package/dist/BarChart/utils/hooks.js +3 -1
  9. package/dist/Box/GridBox.d.ts +1 -0
  10. package/dist/Box/GridBox.js +1 -1
  11. package/dist/Box/props.d.ts +1 -1
  12. package/dist/Breadcrumbs/index.d.ts +5 -5
  13. package/dist/Breadcrumbs/index.js +2 -2
  14. package/dist/Button/CTAButton.d.ts +2 -2
  15. package/dist/Button/FillButton.d.ts +4 -4
  16. package/dist/Button/IconButton.d.ts +4 -4
  17. package/dist/Button/StrokeButton.d.ts +4 -4
  18. package/dist/Button/TextButton.d.ts +4 -4
  19. package/dist/Button/shared/InlineIconButton.d.ts +2 -2
  20. package/dist/Button/shared/styles.d.ts +3 -3
  21. package/dist/Button/shared/types.d.ts +1 -1
  22. package/dist/ButtonBase/ButtonBase.d.ts +9 -4
  23. package/dist/ButtonBase/ButtonBase.js +11 -4
  24. package/dist/Card/elements.d.ts +109 -103
  25. package/dist/Card/styles.d.ts +8 -8
  26. package/dist/Coachmark/index.d.ts +1 -1
  27. package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
  28. package/dist/ConnectedForm/ConnectedFormGroup.js +4 -3
  29. package/dist/ConnectedForm/utils.d.ts +1 -1
  30. package/dist/ConnectedForm/utils.js +1 -1
  31. package/dist/DatePicker/DatePickerInput/index.d.ts +1 -1
  32. package/dist/Disclosure/elements.d.ts +18 -12
  33. package/dist/FeatureShimmer/index.js +1 -1
  34. package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
  35. package/dist/Form/SelectDropdown/elements/containers.js +1 -1
  36. package/dist/Form/SelectDropdown/elements/controls.js +2 -2
  37. package/dist/Form/SelectDropdown/elements/multi-value.js +2 -2
  38. package/dist/Form/SelectDropdown/types/internal.d.ts +2 -2
  39. package/dist/Form/SelectDropdown/utils.js +2 -1
  40. package/dist/Form/elements/Form.d.ts +15 -15
  41. package/dist/Form/elements/FormGroup.d.ts +1 -1
  42. package/dist/Form/styles/Checkbox-styles.d.ts +1 -1
  43. package/dist/GridForm/GridFormButtons/index.d.ts +4 -4
  44. package/dist/List/ListProvider.d.ts +1 -1
  45. package/dist/List/elements.d.ts +44 -42
  46. package/dist/Menu/MenuItem.js +10 -6
  47. package/dist/Menu/elements.d.ts +2 -2
  48. package/dist/Modals/Dialog.js +6 -2
  49. package/dist/Modals/Modal.js +5 -2
  50. package/dist/Modals/elements.d.ts +1 -1
  51. package/dist/Pagination/AnimatedPaginationButtons.d.ts +31 -29
  52. package/dist/Pagination/EllipsisButton.d.ts +2 -2
  53. package/dist/Pagination/PaginationButton.d.ts +6 -6
  54. package/dist/Pagination/utils.d.ts +31 -29
  55. package/dist/Pagination/utils.js +14 -11
  56. package/dist/Popover/Popover.js +6 -6
  57. package/dist/Popover/types.d.ts +4 -3
  58. package/dist/PopoverContainer/PopoverContainer.js +9 -9
  59. package/dist/PopoverContainer/hooks.d.ts +16 -4
  60. package/dist/PopoverContainer/hooks.js +50 -27
  61. package/dist/PopoverContainer/types.d.ts +2 -1
  62. package/dist/Tabs/TabButton.d.ts +2 -2
  63. package/dist/Tabs/TabNavLink.d.ts +2 -2
  64. package/dist/Tag/elements.d.ts +14 -8
  65. package/dist/Tag/index.js +1 -1
  66. package/dist/Tip/InfoTip/InfoTipButton.d.ts +4 -4
  67. package/dist/Tip/PreviewTip/elements.d.ts +12 -6
  68. package/dist/Tip/__tests__/helpers.d.ts +1 -1
  69. package/dist/Tip/shared/FloatingTip.js +2 -2
  70. package/dist/Tip/shared/types.d.ts +2 -2
  71. package/dist/Tip/shared/utils.js +1 -1
  72. package/dist/utils/nullish.d.ts +10 -0
  73. package/dist/utils/nullish.js +11 -0
  74. package/dist/utils/react.js +4 -2
  75. package/package.json +12 -15
  76. package/agent-tools/.claude-plugin/marketplace.json +0 -16
  77. package/agent-tools/.claude-plugin/plugin.json +0 -7
  78. package/agent-tools/.cursor-plugin/plugin.json +0 -7
  79. package/agent-tools/DESIGN.Codecademy.md +0 -643
  80. package/agent-tools/DESIGN.LXStudio.md +0 -437
  81. package/agent-tools/DESIGN.Percipio.md +0 -433
  82. package/agent-tools/DESIGN.md +0 -1
  83. package/agent-tools/agents/.gitkeep +0 -0
  84. package/agent-tools/rules/accessibility.mdc +0 -78
  85. package/agent-tools/skills/gamut-accessibility/SKILL.md +0 -214
  86. package/agent-tools/skills/gamut-buttons/SKILL.md +0 -96
  87. package/agent-tools/skills/gamut-color-mode/SKILL.md +0 -257
  88. package/agent-tools/skills/gamut-forms/SKILL.md +0 -84
  89. package/agent-tools/skills/gamut-layout/SKILL.md +0 -109
  90. package/agent-tools/skills/gamut-list/SKILL.md +0 -273
  91. package/agent-tools/skills/gamut-review/SKILL.md +0 -254
  92. package/agent-tools/skills/gamut-style-utilities/SKILL.md +0 -107
  93. package/agent-tools/skills/gamut-system-props/SKILL.md +0 -203
  94. package/agent-tools/skills/gamut-testing/SKILL.md +0 -221
  95. package/agent-tools/skills/gamut-theming/SKILL.md +0 -115
  96. package/agent-tools/skills/gamut-typography/SKILL.md +0 -98
  97. package/bin/commands/plugin/install.mjs +0 -212
  98. package/bin/commands/plugin/list.mjs +0 -73
  99. package/bin/commands/plugin/remove.mjs +0 -108
  100. package/bin/commands/plugin/update.mjs +0 -59
  101. package/bin/gamut.mjs +0 -96
  102. package/bin/lib/claude.mjs +0 -52
  103. package/bin/lib/cursor.mjs +0 -40
  104. package/bin/lib/design.mjs +0 -71
  105. package/bin/lib/io.mjs +0 -14
  106. package/bin/lib/resolve-plugin-dir.mjs +0 -38
  107. package/bin/lib/run-command.mjs +0 -22
package/package.json CHANGED
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "name": "@codecademy/gamut",
3
3
  "description": "Styleguide & Component library for Codecademy",
4
- "version": "68.6.2-alpha.671e56.0",
4
+ "version": "68.6.2-alpha.d2f2df.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
- "bin": "./bin/gamut.mjs",
7
6
  "dependencies": {
8
- "@codecademy/gamut-icons": "9.57.6-alpha.671e56.0",
9
- "@codecademy/gamut-illustrations": "0.58.12-alpha.671e56.0",
10
- "@codecademy/gamut-patterns": "0.10.31-alpha.671e56.0",
11
- "@codecademy/gamut-styles": "18.0.1-alpha.671e56.0",
12
- "@codecademy/variance": "0.26.2-alpha.671e56.0",
7
+ "@codecademy/gamut-icons": "9.57.6-alpha.d2f2df.0",
8
+ "@codecademy/gamut-illustrations": "0.58.12-alpha.d2f2df.0",
9
+ "@codecademy/gamut-patterns": "0.10.31-alpha.d2f2df.0",
10
+ "@codecademy/gamut-styles": "18.0.1-alpha.d2f2df.0",
11
+ "@codecademy/variance": "0.26.2-alpha.d2f2df.0",
13
12
  "@formatjs/intl-locale": "5.3.1",
14
13
  "@react-aria/interactions": "3.25.0",
15
14
  "@types/marked": "^4.0.8",
16
15
  "@vidstack/react": "^1.12.12",
17
16
  "classnames": "^2.2.5",
18
- "framer-motion": "^11.18.0",
17
+ "framer-motion": "^12.0.0",
19
18
  "html-to-react": "^1.6.0",
20
19
  "invariant": "^2.2.4",
21
20
  "lodash": "^4.17.23",
@@ -23,7 +22,7 @@
23
22
  "polished": "^4.1.2",
24
23
  "react-aria-components": "1.7.1",
25
24
  "react-focus-on": "3.10.0",
26
- "react-hook-form": "^7.65.0",
25
+ "react-hook-form": "^7.71.2",
27
26
  "react-player": "^2.16.0",
28
27
  "react-select": "^5.2.2",
29
28
  "react-truncate-markup": "^5.1.2",
@@ -31,9 +30,7 @@
31
30
  "sanitize-markdown": "^2.6.7"
32
31
  },
33
32
  "files": [
34
- "dist",
35
- "bin",
36
- "agent-tools"
33
+ "dist"
37
34
  ],
38
35
  "license": "MIT",
39
36
  "main": "./dist/index.js",
@@ -44,8 +41,8 @@
44
41
  "peerDependencies": {
45
42
  "@emotion/react": "^11.4.0",
46
43
  "@emotion/styled": "^11.3.0",
47
- "react": "^17.0.2 || ^18.3.0",
48
- "react-dom": "^17.0.2 || ^18.3.0"
44
+ "react": "^17.0.2 || ^18.3.0 || ^19.0.0",
45
+ "react-dom": "^17.0.2 || ^18.3.0 || ^19.0.0"
49
46
  },
50
47
  "publishConfig": {
51
48
  "access": "public"
@@ -55,7 +52,7 @@
55
52
  "build": "nx build @codecademy/gamut",
56
53
  "build:watch": "yarn build && onchange ./src -- yarn build",
57
54
  "compile": "babel ./src --out-dir ./dist --extensions \".ts,.tsx\"",
58
- "verify": "tsc --noEmit && tsc --project tsconfig.bin.json"
55
+ "verify": "tsc --noEmit"
59
56
  },
60
57
  "sideEffects": [
61
58
  "**/*.css",
@@ -1,16 +0,0 @@
1
- {
2
- "name": "gamut-design-system",
3
- "owner": {
4
- "name": "Codecademy"
5
- },
6
- "metadata": {
7
- "description": "Local marketplace for @codecademy/gamut agent tools."
8
- },
9
- "plugins": [
10
- {
11
- "name": "gamut-design-system",
12
- "source": "./",
13
- "description": "Gamut design system agent tools: skills and rules for AI-assisted development."
14
- }
15
- ]
16
- }
@@ -1,7 +0,0 @@
1
- {
2
- "name": "gamut-design-system",
3
- "version": "0.0.1",
4
- "description": "Gamut design system agent tools: skills and rules for AI-assisted development.",
5
- "license": "MIT",
6
- "keywords": ["codecademy", "gamut", "design-system", "agent-skills"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "name": "gamut-design-system",
3
- "displayName": "Gamut Design System",
4
- "version": "0.0.1",
5
- "description": "Gamut design system agent tools: skills and rules for AI-assisted development.",
6
- "keywords": ["codecademy", "gamut", "design-system", "agent-skills"]
7
- }