@bcgov/design-system-react-components 0.0.4 → 0.0.6

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 (53) hide show
  1. package/README.md +10 -6
  2. package/dist/cjs/index.cjs +559 -18
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/cjs/types/components/Button/Button.d.ts +12 -0
  5. package/dist/cjs/types/components/Footer/Footer.d.ts +63 -0
  6. package/dist/cjs/types/components/Footer/index.d.ts +2 -0
  7. package/dist/cjs/types/components/Header/Header.d.ts +19 -1
  8. package/dist/cjs/types/components/Header/index.d.ts +1 -1
  9. package/dist/cjs/types/components/SvgBcLogo/SvgBcLogo.d.ts +3 -0
  10. package/dist/cjs/types/components/SvgBcLogo/index.d.ts +1 -0
  11. package/dist/cjs/types/components/Tag/Tag.d.ts +6 -0
  12. package/dist/cjs/types/components/TagGroup/TagGroup.d.ts +9 -0
  13. package/dist/cjs/types/components/TagList/TagList.d.ts +3 -0
  14. package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +5 -0
  15. package/dist/cjs/types/components/Tooltip/index.d.ts +2 -0
  16. package/dist/cjs/types/components/index.d.ts +4 -1
  17. package/dist/esm/index.js +556 -19
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/types/components/Button/Button.d.ts +12 -0
  20. package/dist/esm/types/components/Footer/Footer.d.ts +63 -0
  21. package/dist/esm/types/components/Footer/index.d.ts +2 -0
  22. package/dist/esm/types/components/Header/Header.d.ts +19 -1
  23. package/dist/esm/types/components/Header/index.d.ts +1 -1
  24. package/dist/esm/types/components/SvgBcLogo/SvgBcLogo.d.ts +3 -0
  25. package/dist/esm/types/components/SvgBcLogo/index.d.ts +1 -0
  26. package/dist/esm/types/components/Tag/Tag.d.ts +6 -0
  27. package/dist/esm/types/components/TagGroup/TagGroup.d.ts +9 -0
  28. package/dist/esm/types/components/TagList/TagList.d.ts +3 -0
  29. package/dist/esm/types/components/Tooltip/Tooltip.d.ts +5 -0
  30. package/dist/esm/types/components/Tooltip/index.d.ts +2 -0
  31. package/dist/esm/types/components/index.d.ts +4 -1
  32. package/dist/index.d.ts +120 -3
  33. package/package.json +18 -17
  34. package/dist/assets/BCSans-Bold-ZqE3sZik.woff +0 -0
  35. package/dist/assets/BCSans-Bold-onJZunl0.woff2 +0 -0
  36. package/dist/assets/BCSans-BoldItalic-4P_OlA2s.woff +0 -0
  37. package/dist/assets/BCSans-BoldItalic-GxGpSOWy.woff2 +0 -0
  38. package/dist/assets/BCSans-Italic-Pz_cGW4F.woff2 +0 -0
  39. package/dist/assets/BCSans-Italic-UhTyhoET.woff +0 -0
  40. package/dist/assets/BCSans-Light-A03rbYd1.woff2 +0 -0
  41. package/dist/assets/BCSans-Light-playkmYo.woff +0 -0
  42. package/dist/assets/BCSans-LightItalic-HTeW1g69.woff2 +0 -0
  43. package/dist/assets/BCSans-LightItalic-tgMWPWlK.woff +0 -0
  44. package/dist/assets/BCSans-Regular-jMf6NRx3.woff +0 -0
  45. package/dist/assets/BCSans-Regular-ysGfRp0T.woff2 +0 -0
  46. package/dist/assets/index-t1vEzjyT.css +0 -1
  47. package/dist/assets/index-yaBoZILt.js +0 -48
  48. package/dist/cjs/types/components/SelectItem/SelectItem.d.ts +0 -16
  49. package/dist/cjs/types/components/SelectItem/index.d.ts +0 -2
  50. package/dist/esm/types/components/SelectItem/SelectItem.d.ts +0 -16
  51. package/dist/esm/types/components/SelectItem/index.d.ts +0 -2
  52. package/dist/index.html +0 -14
  53. package/dist/vite.svg +0 -1
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { ListBoxItemProps } from "react-aria-components";
3
- import "./SelectItem.css";
4
- export interface SelectItemProps extends ListBoxItemProps {
5
- /** Text label for the option. Provide an `id` if this is not unique. */
6
- label: string;
7
- /** Descriptive text that appears below the option's label */
8
- description?: string;
9
- /** Marks an option visually with red text to indicate danger */
10
- isDestructive?: boolean;
11
- /** Left icon slot */
12
- iconLeft?: React.ReactElement;
13
- /** Right icon slot */
14
- iconRight?: React.ReactElement;
15
- }
16
- export default function SelectItem({ description, id, iconLeft, iconRight, isDestructive, label, }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export { default } from "./SelectItem";
2
- export type { SelectItemProps } from "./SelectItem";
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { ListBoxItemProps } from "react-aria-components";
3
- import "./SelectItem.css";
4
- export interface SelectItemProps extends ListBoxItemProps {
5
- /** Text label for the option. Provide an `id` if this is not unique. */
6
- label: string;
7
- /** Descriptive text that appears below the option's label */
8
- description?: string;
9
- /** Marks an option visually with red text to indicate danger */
10
- isDestructive?: boolean;
11
- /** Left icon slot */
12
- iconLeft?: React.ReactElement;
13
- /** Right icon slot */
14
- iconRight?: React.ReactElement;
15
- }
16
- export default function SelectItem({ description, id, iconLeft, iconRight, isDestructive, label, }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export { default } from "./SelectItem";
2
- export type { SelectItemProps } from "./SelectItem";
package/dist/index.html DELETED
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>BC Design System React Components Vite Kitchen Sink</title>
8
- <script type="module" crossorigin src="/assets/index-yaBoZILt.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-t1vEzjyT.css">
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- </body>
14
- </html>
package/dist/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>