@nationaldesignstudio/react 0.0.19 → 0.2.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.
- package/dist/component-registry.md +46 -19
- package/dist/components/atoms/accordion/accordion.d.ts +9 -9
- package/dist/components/atoms/background/background.d.ts +23 -0
- package/dist/components/atoms/button/icon-button.d.ts +44 -16
- package/dist/components/sections/banner/banner.d.ts +9 -9
- package/dist/components/sections/faq-section/faq-section.d.ts +1 -1
- package/dist/components/sections/hero/hero.d.ts +115 -18
- package/dist/components/sections/tout/tout.d.ts +8 -8
- package/dist/components/sections/two-column-section/two-column-section.d.ts +7 -21
- package/dist/index.js +2177 -2027
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +16 -16
- package/package.json +1 -1
- package/src/components/atoms/accordion/accordion.test.tsx +231 -0
- package/src/components/atoms/accordion/accordion.tsx +21 -19
- package/src/components/atoms/background/background.test.tsx +213 -0
- package/src/components/atoms/background/background.tsx +104 -27
- package/src/components/atoms/button/button.tsx +11 -1
- package/src/components/atoms/button/icon-button.test.tsx +254 -0
- package/src/components/atoms/button/icon-button.tsx +108 -16
- package/src/components/atoms/pager-control/pager-control.tsx +32 -3
- package/src/components/dev-tools/dev-toolbar/dev-toolbar.tsx +2 -0
- package/src/components/organisms/card/card.test.tsx +4 -2
- package/src/components/organisms/navbar/navbar.tsx +2 -0
- package/src/components/sections/banner/banner.stories.tsx +5 -1
- package/src/components/sections/banner/banner.tsx +10 -10
- package/src/components/sections/faq-section/faq-section.stories.tsx +7 -7
- package/src/components/sections/faq-section/faq-section.tsx +3 -3
- package/src/components/sections/hero/hero.tsx +33 -51
- package/src/components/sections/tout/tout.stories.tsx +31 -7
- package/src/components/sections/tout/tout.tsx +6 -8
- package/src/components/sections/two-column-section/two-column-section.stories.tsx +11 -11
- package/src/components/sections/two-column-section/two-column-section.tsx +16 -10
- package/src/stories/ThemeProvider.stories.tsx +9 -3
|
@@ -38,9 +38,15 @@ function ThemeDemo({ title }: { title?: string }) {
|
|
|
38
38
|
|
|
39
39
|
{/* Button variants */}
|
|
40
40
|
<div className="flex flex-wrap gap-3 mb-6">
|
|
41
|
-
<Button variant="solid" colorScheme="dark">
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
<Button variant="solid" colorScheme="dark">
|
|
42
|
+
Solid Dark
|
|
43
|
+
</Button>
|
|
44
|
+
<Button variant="solid" colorScheme="light">
|
|
45
|
+
Solid Light
|
|
46
|
+
</Button>
|
|
47
|
+
<Button variant="outline" colorScheme="dark">
|
|
48
|
+
Outline
|
|
49
|
+
</Button>
|
|
44
50
|
</div>
|
|
45
51
|
|
|
46
52
|
{/* Card component */}
|