@alto-avios/alto-ui 1.2.1-alpha.5 → 2.0.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 (65) hide show
  1. package/README.md +42 -22
  2. package/dist/assets/Eyebrow.css +1 -0
  3. package/dist/assets/Heading.css +1 -0
  4. package/dist/assets/IconButton.css +1 -1
  5. package/dist/assets/NewButton.css +1 -1
  6. package/dist/assets/SubHeading.css +1 -0
  7. package/dist/assets/fgColor.css +1 -0
  8. package/dist/components/Badge/Badge.js +1 -1
  9. package/dist/components/Button/Button.js +1 -1
  10. package/dist/components/Checkbox/Checkbox.js +1 -1
  11. package/dist/components/ClearFieldButton/ClearFieldButton.js +1 -1
  12. package/dist/components/DateField/DateField.d.ts +2 -2
  13. package/dist/components/DateField/DateField.js +2 -1
  14. package/dist/components/DateField/DateField.js.map +1 -1
  15. package/dist/components/Eyebrow/Eyebrow.d.ts +8 -0
  16. package/dist/components/Eyebrow/Eyebrow.js +42 -0
  17. package/dist/components/Eyebrow/Eyebrow.js.map +1 -0
  18. package/dist/components/Eyebrow/index.d.ts +1 -0
  19. package/dist/components/Eyebrow/index.js +5 -0
  20. package/dist/components/Eyebrow/index.js.map +1 -0
  21. package/dist/components/Heading/Heading.d.ts +20 -0
  22. package/dist/components/Heading/Heading.js +77 -0
  23. package/dist/components/Heading/Heading.js.map +1 -0
  24. package/dist/components/Heading/index.d.ts +1 -0
  25. package/dist/components/Heading/index.js +5 -0
  26. package/dist/components/Heading/index.js.map +1 -0
  27. package/dist/components/Icon/Icon.d.ts +13 -1
  28. package/dist/components/Icon/Icon.js +8 -2
  29. package/dist/components/Icon/Icon.js.map +1 -1
  30. package/dist/components/IconButton/IconButton.js +23 -23
  31. package/dist/components/Link/Link.d.ts +6 -5
  32. package/dist/components/Link/Link.js +6 -4
  33. package/dist/components/Link/Link.js.map +1 -1
  34. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +2 -1
  35. package/dist/components/LoadingSpinner/LoadingSpinner.js +5 -4
  36. package/dist/components/LoadingSpinner/LoadingSpinner.js.map +1 -1
  37. package/dist/components/NewButton/NewButton.d.ts +9 -2
  38. package/dist/components/NewButton/NewButton.js +50 -1317
  39. package/dist/components/NewButton/NewButton.js.map +1 -1
  40. package/dist/components/Radio/Radio.js +1 -1
  41. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  42. package/dist/components/SubHeading/SubHeading.d.ts +20 -0
  43. package/dist/components/SubHeading/SubHeading.js +55 -0
  44. package/dist/components/SubHeading/SubHeading.js.map +1 -0
  45. package/dist/components/SubHeading/index.d.ts +1 -0
  46. package/dist/components/SubHeading/index.js +5 -0
  47. package/dist/components/SubHeading/index.js.map +1 -0
  48. package/dist/components/ToggleButton/ToggleButton.js +1 -1
  49. package/dist/components/ToggleIconButton/ToggleIconButton.js +1 -1
  50. package/dist/components/index.d.ts +3 -0
  51. package/dist/components/index.js +6 -0
  52. package/dist/components/index.js.map +1 -1
  53. package/dist/{index-Cn2Ts93C.js → index-Bi3v_EjJ.js} +1 -2
  54. package/dist/index-Bi3v_EjJ.js.map +1 -0
  55. package/dist/index.js +6 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/utils/fgColour/fgColor.d.ts +3 -0
  58. package/dist/utils/fgColour/fgColor.js +84 -0
  59. package/dist/utils/fgColour/fgColor.js.map +1 -0
  60. package/dist/utils/focus/focusStyles.js +1 -1
  61. package/dist/utils/stories/iconPropsArgTypes.d.ts +8 -0
  62. package/dist/utils/stories/iconPropsArgTypes.js +24 -0
  63. package/dist/utils/stories/iconPropsArgTypes.js.map +1 -0
  64. package/package.json +2 -2
  65. package/dist/index-Cn2Ts93C.js.map +0 -1
package/README.md CHANGED
@@ -4,37 +4,59 @@
4
4
 
5
5
  [Zeroheight Documentation](https://zeroheight.com/8d62898ee/p/69c136-how-to-use-components)
6
6
 
7
- ## Install Package
7
+ ## Prerequisites
8
8
 
9
- Install the Avios Alto Component Library package
9
+ Before setting up the project, ensure you have the following installed on your local machine:
10
10
 
11
- `npm install @alto-avios/alto-ui`
11
+ - **Node.js**: v20.11.1 (as recommended)
12
+ - **NPM**: Comes with Node.js
13
+ - **nvm**: (Optional, but recommended for managing Node versions)
12
14
 
13
- ## Install Design Tokens
15
+ ## Local Setup
14
16
 
15
- Add the following scripts to your `package.json`
17
+ Clone the repository from our github repository here: https://github.com/IAG-Loyalty/alto-ui
16
18
 
17
- ```json
18
- "scripts": {
19
- ... ,
20
- "build-tokens": "npx tsx ./node_modules/@alto-avios/alto-tokens/config.ts",
21
- "clean-tokens": "rm -rf alto-tokens"
22
- },
23
- ```
19
+ You will need to setup a personal access token.
20
+
21
+ Once cloned simply run
22
+
23
+ ```npm i```
24
+
25
+ This should install the avios tokens package too which can be located in your node_modules folder.
26
+
27
+ ### Running Tests
28
+
29
+ If you want to run the tests for this project, you can do so with the following command:
30
+
31
+ ```npm run test```
32
+
33
+ ### Running Storybook Locally
24
34
 
25
- Build your generated tokens using the following command
35
+ To run storybook locally run the following command
26
36
 
27
- `npm run build-tokens`
37
+ ```npm run storybook```
28
38
 
29
- Your newly generated tokens can be found in a folder named: `~/alto-tokens`
39
+ ### Bundling the package with vite
30
40
 
31
- Place the design token package into your `src` directory.
41
+ If you want to bundle the components for production, use the following command to create an optimized build:
32
42
 
33
- ## Import Fonts
43
+ ```npm run vite```
34
44
 
35
- Download the font assets from this repository: https://github.com/va1-a/dali-fonts and add them to your project.
45
+ ### To create static Storybook files
36
46
 
37
- ## Importing Alto Components
47
+ We need to create static storybook files for our public domain site to use. Run the following command
48
+
49
+ ```npm run build:storybook```
50
+
51
+ ## For Application using our package
52
+
53
+ ### Install Package in Applications
54
+
55
+ Install the Avios Alto Component Library package
56
+
57
+ `npm install @alto-avios/alto-ui`
58
+
59
+ ### Importing Alto Components
38
60
 
39
61
  After following the installation process, you can import and use Alto-UI components in your React application. Here is an example of how to do it.
40
62
 
@@ -51,7 +73,7 @@ const App = () => (
51
73
  export default App;
52
74
  ```
53
75
 
54
- ## Update
76
+ ### Update
55
77
 
56
78
  Check if an update exists:
57
79
 
@@ -61,8 +83,6 @@ If an update is available, update the package:
61
83
 
62
84
  `npm i @alto-avios/alto-ui@latest`
63
85
 
64
- ## Dependencies
65
-
66
86
  ### Node
67
87
 
68
88
  Make sure to use Node -v `20.11.1`.
@@ -0,0 +1 @@
1
+ ._eyebrow_c96e1_1{background:var(--alto-eyebrow-color-bg);border-radius:var(--alto-eyebrow-radius);color:var(--alto-sem-color-fg-accent-secondary);display:inline-block;font-family:var(--alto-sem-text-body-font-family);font-size:var(--alto-sem-text-body-sm-font-size);font-style:normal;font-weight:400;letter-spacing:var(--alto-sem-text-body-sm-letter-spacing);line-height:var(--alto-sem-text-body-sm-line-height);padding:var(--alto-eyebrow-padding-vertical) var(--alto-eyebrow-padding-horizontal)}._inspiration_c96e1_15{background-color:var(--alto-eyebrow-color-bg)}._collect_c96e1_19{background-color:#c7fcec}._spend_c96e1_23{background-color:#e0deff;color:var(--alto-sem-color-fg-spend-default)}._activate_c96e1_28{background-color:#e5f2ff}
@@ -0,0 +1 @@
1
+ ._heading_14dsg_1{display:block;font-family:var(--alto-sem-text-heading-font-family);font-style:normal;font-weight:var(--alto-sem-text-heading-font-weight);margin:0}._xxs_14dsg_9{font-size:var(--alto-sem-text-heading-2xs-font-size);letter-spacing:var(--alto-sem-text-heading-2xs-letter-spacing);line-height:var(--alto-sem-text-heading-2xs-line-height)}._xs_14dsg_15{font-size:var(--alto-sem-text-heading-xs-font-size);letter-spacing:var(--alto-sem-text-heading-xs-letter-spacing);line-height:var(--alto-sem-text-heading-xs-line-height)}._sm_14dsg_21{font-size:var(--alto-sem-text-heading-sm-font-size);letter-spacing:var(--alto-sem-text-heading-sm-letter-spacing);line-height:var(--alto-sem-text-heading-sm-line-height)}._md_14dsg_27{font-size:var(--alto-sem-text-heading-md-font-size);letter-spacing:var(--alto-sem-text-heading-md-letter-spacing);line-height:var(--alto-sem-text-heading-md-line-height)}._lg_14dsg_33{font-size:var(--alto-sem-text-heading-lg-font-size);letter-spacing:var(--alto-sem-text-heading-lg-letter-spacing);line-height:var(--alto-sem-text-heading-lg-line-height)}._xl_14dsg_39{font-size:var(--alto-sem-text-heading-xl-font-size);letter-spacing:var(--alto-sem-text-heading-xl-letter-spacing);line-height:var(--alto-sem-text-heading-xl-line-height)}._start_14dsg_45{text-align:start}._center_14dsg_49{text-align:center}._end_14dsg_53{text-align:end}
@@ -1 +1 @@
1
- ._iconButton_1q4my_1{align-items:center;background:var(--alto-sem-color-bg-accent-vibrant-default);border:none;border-radius:var(--alto-button-md-radius);box-sizing:border-box;color:var(--alto-sem-color-fg-accent-on-vibrant);cursor:pointer;display:inline-flex;font-family:var(--alto-sem-text-body-font-family);font-size:var(--alto-sem-text-body-md-font-size);font-style:normal;font-weight:var(--alto-sem-text-body-regular-font-weight);gap:var(--alto-sem-space-2xs);justify-content:center;letter-spacing:var(--alto-sem-text-body-md-letter-spacing);line-height:var(--alto-sem-text-body-md-line-height)}._sm_1q4my_24{font-size:16px;height:36px;width:36px}._md_1q4my_30{font-size:16px;height:48px;width:48px}._lg_1q4my_36{font-size:20px;height:55px;width:55px}._accentPrimary_1q4my_46[data-focused],._accentPrimary_1q4my_46[data-hovered]{background:var(--alto-sem-color-bg-accent-vibrant-hover)}._accentPrimary_1q4my_46[data-pressed]{background:var(--alto-sem-color-bg-accent-vibrant-active)}._accentPrimary_1q4my_46[data-pressed][data-focused]{outline:none}._accentPrimary_1q4my_46[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:default;pointer-events:none}._accentSecondary_1q4my_69{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-accent);color:var(--alto-sem-color-fg-accent-primary)}._accentSecondary_1q4my_69[data-focused],._accentSecondary_1q4my_69[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentSecondary_1q4my_69[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentSecondary_1q4my_69[data-pressed][data-focused]{outline:none}._accentSecondary_1q4my_69[data-disabled]{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentTertiary_1q4my_96{background:var(--alto-sem-color-bg-accent-subtle-default);color:var(--alto-sem-color-fg-accent-primary)}._accentTertiary_1q4my_96[data-focused],._accentTertiary_1q4my_96[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentTertiary_1q4my_96[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentTertiary_1q4my_96[data-pressed][data-focused]{outline:none}._accentTertiary_1q4my_96[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentQuaternary_1q4my_125{background:none;color:var(--alto-sem-color-fg-accent-primary)}._accentQuaternary_1q4my_125[data-hovered][data-focused]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentQuaternary_1q4my_125[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentQuaternary_1q4my_125[data-pressed][data-focused]{outline:none}._accentQuaternary_1q4my_125[data-disabled]{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalPrimary_1q4my_149{background:var(--alto-sem-color-bg-critical-vibrant-default);color:var(--alto-sem-color-fg-critical-on-vibrant)}._criticalPrimary_1q4my_149[data-focused],._criticalPrimary_1q4my_149[data-hovered]{background:var(--alto-sem-color-bg-critical-vibrant-hover)}._criticalPrimary_1q4my_149[data-pressed]{background:var(--alto-sem-color-bg-critical-vibrant-active)}._criticalPrimary_1q4my_149[data-pressed][data-focused]{outline:none}._criticalPrimary_1q4my_149[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._criticalSecondary_1q4my_173{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-critical);color:var(--alto-sem-color-fg-critical-primary)}._criticalSecondary_1q4my_173[data-focused],._criticalSecondary_1q4my_173[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalSecondary_1q4my_173[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalSecondary_1q4my_173[data-pressed][data-focused]{outline:none}._criticalSecondary_1q4my_173[data-disabled]{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalTertiary_1q4my_200{background:var(--alto-sem-color-bg-critical-subtle-default);color:var(--alto-sem-color-fg-critical-primary)}._criticalTertiary_1q4my_200[data-focused],._criticalTertiary_1q4my_200[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalTertiary_1q4my_200[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalTertiary_1q4my_200[data-pressed][data-focused]{outline:none}._criticalTertiary_1q4my_200[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalQuaternary_1q4my_225{background:none;color:var(--alto-sem-color-fg-critical-primary)}._criticalQuaternary_1q4my_225[data-focused],._criticalQuaternary_1q4my_225[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalQuaternary_1q4my_225[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalQuaternary_1q4my_225[data-pressed][data-focused]{outline:none}._criticalQuaternary_1q4my_225[data-disabled]{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralPrimary_1q4my_250{background:var(--alto-sem-color-bg-inverse-vibrant-default);color:var(--alto-sem-color-fg-inverse-on-vibrant)}._neutralPrimary_1q4my_250[data-focused],._neutralPrimary_1q4my_250[data-hovered]{background:var(--alto-sem-color-bg-inverse-vibrant-hover)}._neutralPrimary_1q4my_250[data-pressed]{background:var(--alto-sem-color-bg-inverse-vibrant-active)}._neutralPrimary_1q4my_250[data-pressed][data-focused]{outline:none}._neutralPrimary_1q4my_250[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralSecondary_1q4my_274{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-inverse);color:var(--alto-sem-color-fg-inverse-on-subtle)}._neutralSecondary_1q4my_274[data-focused],._neutralSecondary_1q4my_274[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralSecondary_1q4my_274[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralSecondary_1q4my_274[data-pressed][data-focused]{outline:none}._neutralSecondary_1q4my_274[data-disabled]{border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralTertiary_1q4my_299{background:var(--alto-sem-color-bg-inverse-subtle-default);color:var(--alto-sem-color-fg-primary)}._neutralTertiary_1q4my_299[data-focused],._neutralTertiary_1q4my_299[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralTertiary_1q4my_299[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralTertiary_1q4my_299[data-pressed][data-focused]{outline:none}._neutralTertiary_1q4my_299[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralQuaternary_1q4my_324{background:none;color:var(--alto-sem-color-fg-primary)}._neutralQuaternary_1q4my_324[data-focused],._neutralQuaternary_1q4my_324[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralQuaternary_1q4my_324[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralQuaternary_1q4my_324[data-pressed][data-focused]{outline:none}._neutralQuaternary_1q4my_324[data-disabled]{background:none;color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._whitePrimary_1q4my_350{background:var(--alto-sem-color-bg-white-vibrant-default);color:var(--alto-sem-color-fg-white-on-vibrant)}._whitePrimary_1q4my_350[data-focused],._whitePrimary_1q4my_350[data-hovered]{background:var(--alto-sem-color-bg-white-vibrant-hover)}._whitePrimary_1q4my_350[data-pressed]{background:var(--alto-sem-color-bg-white-vibrant-active)}._whitePrimary_1q4my_350[data-pressed][data-focused]{outline:none}._whitePrimary_1q4my_350[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whitePrimary_1q4my_350[data-disabled]{background:#ffffff52;color:var(--alto-sem-color-fg-disabled-on-vibrant);cursor:not-allowed;pointer-events:none}._whiteSecondary_1q4my_379{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-white);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteSecondary_1q4my_379[data-focused],._whiteSecondary_1q4my_379[data-hovered]{background:var(--alto-sem-color-overlay-state-darken-hover)}._whiteSecondary_1q4my_379[data-pressed]{background:var(--alto-sem-color-overlay-state-darken-active)}._whiteSecondary_1q4my_379[data-pressed][data-focused]{outline:none}._whiteSecondary_1q4my_379[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteSecondary_1q4my_379[data-disabled]{border:var(--alto-sem-border-width-sm) solid hsla(0,0%,100%,.32);color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteTertiary_1q4my_409{background:var(--alto-sem-color-bg-white-subtle-default);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteTertiary_1q4my_409[data-focused],._whiteTertiary_1q4my_409[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteTertiary_1q4my_409[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteTertiary_1q4my_409[data-pressed][data-focused]{outline:none}._whiteTertiary_1q4my_409[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteTertiary_1q4my_409[data-disabled]{background:#0000000d;color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteQuaternary_1q4my_438{background:none;color:var(--alto-sem-color-fg-white-primary)}._whiteQuaternary_1q4my_438[data-focused],._whiteQuaternary_1q4my_438[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteQuaternary_1q4my_438[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteQuaternary_1q4my_438[data-pressed][data-focused]{outline:none}._whiteQuaternary_1q4my_438[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteQuaternary_1q4my_438[data-disabled]{background:none;color:#ffffff52;cursor:not-allowed;pointer-events:none}._fa-spinner-third_1q4my_469{height:1rem;width:1rem}._icon-wrapper_1q4my_474{all:unset;align-items:center;display:flex;height:1em;justify-content:center;width:1em}
1
+ ._iconButton_104jb_1{align-items:center;background:var(--alto-sem-color-bg-accent-vibrant-default);border:none;border-radius:var(--alto-button-md-radius);box-sizing:border-box;color:var(--alto-sem-color-fg-accent-on-vibrant);cursor:pointer;display:inline-flex;font-family:var(--alto-sem-text-body-font-family);font-size:var(--alto-sem-text-body-md-font-size);font-style:normal;font-weight:var(--alto-sem-text-body-regular-font-weight);gap:var(--alto-sem-space-2xs);justify-content:center;letter-spacing:var(--alto-sem-text-body-md-letter-spacing);line-height:0}._sm_104jb_24{font-size:16px;height:36px;width:36px}._md_104jb_30{font-size:16px;height:48px;width:48px}._lg_104jb_36{font-size:20px;height:55px;width:55px}._accentPrimary_104jb_46[data-focused],._accentPrimary_104jb_46[data-hovered]{background:var(--alto-sem-color-bg-accent-vibrant-hover)}._accentPrimary_104jb_46[data-pressed]{background:var(--alto-sem-color-bg-accent-vibrant-active)}._accentPrimary_104jb_46[data-pressed][data-focused]{outline:none}._accentPrimary_104jb_46[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:default;pointer-events:none}._accentSecondary_104jb_69{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-accent);color:var(--alto-sem-color-fg-accent-primary)}._accentSecondary_104jb_69[data-focused],._accentSecondary_104jb_69[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentSecondary_104jb_69[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentSecondary_104jb_69[data-pressed][data-focused]{outline:none}._accentSecondary_104jb_69[data-disabled]{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentTertiary_104jb_96{background:var(--alto-sem-color-bg-accent-subtle-default);color:var(--alto-sem-color-fg-accent-primary)}._accentTertiary_104jb_96[data-focused],._accentTertiary_104jb_96[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentTertiary_104jb_96[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentTertiary_104jb_96[data-pressed][data-focused]{outline:none}._accentTertiary_104jb_96[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentQuaternary_104jb_125{background:none;color:var(--alto-sem-color-fg-accent-primary)}._accentQuaternary_104jb_125[data-hovered][data-focused]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentQuaternary_104jb_125[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentQuaternary_104jb_125[data-pressed][data-focused]{outline:none}._accentQuaternary_104jb_125[data-disabled]{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalPrimary_104jb_149{background:var(--alto-sem-color-bg-critical-vibrant-default);color:var(--alto-sem-color-fg-critical-on-vibrant)}._criticalPrimary_104jb_149[data-focused],._criticalPrimary_104jb_149[data-hovered]{background:var(--alto-sem-color-bg-critical-vibrant-hover)}._criticalPrimary_104jb_149[data-pressed]{background:var(--alto-sem-color-bg-critical-vibrant-active)}._criticalPrimary_104jb_149[data-pressed][data-focused]{outline:none}._criticalPrimary_104jb_149[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._criticalSecondary_104jb_173{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-critical);color:var(--alto-sem-color-fg-critical-primary)}._criticalSecondary_104jb_173[data-focused],._criticalSecondary_104jb_173[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalSecondary_104jb_173[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalSecondary_104jb_173[data-pressed][data-focused]{outline:none}._criticalSecondary_104jb_173[data-disabled]{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalTertiary_104jb_200{background:var(--alto-sem-color-bg-critical-subtle-default);color:var(--alto-sem-color-fg-critical-primary)}._criticalTertiary_104jb_200[data-focused],._criticalTertiary_104jb_200[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalTertiary_104jb_200[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalTertiary_104jb_200[data-pressed][data-focused]{outline:none}._criticalTertiary_104jb_200[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalQuaternary_104jb_225{background:none;color:var(--alto-sem-color-fg-critical-primary)}._criticalQuaternary_104jb_225[data-focused],._criticalQuaternary_104jb_225[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalQuaternary_104jb_225[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalQuaternary_104jb_225[data-pressed][data-focused]{outline:none}._criticalQuaternary_104jb_225[data-disabled]{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralPrimary_104jb_250{background:var(--alto-sem-color-bg-inverse-vibrant-default);color:var(--alto-sem-color-fg-inverse-on-vibrant)}._neutralPrimary_104jb_250[data-focused],._neutralPrimary_104jb_250[data-hovered]{background:var(--alto-sem-color-bg-inverse-vibrant-hover)}._neutralPrimary_104jb_250[data-pressed]{background:var(--alto-sem-color-bg-inverse-vibrant-active)}._neutralPrimary_104jb_250[data-pressed][data-focused]{outline:none}._neutralPrimary_104jb_250[data-disabled]{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralSecondary_104jb_274{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-inverse);color:var(--alto-sem-color-fg-inverse-on-subtle)}._neutralSecondary_104jb_274[data-focused],._neutralSecondary_104jb_274[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralSecondary_104jb_274[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralSecondary_104jb_274[data-pressed][data-focused]{outline:none}._neutralSecondary_104jb_274[data-disabled]{border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralTertiary_104jb_299{background:var(--alto-sem-color-bg-inverse-subtle-default);color:var(--alto-sem-color-fg-primary)}._neutralTertiary_104jb_299[data-focused],._neutralTertiary_104jb_299[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralTertiary_104jb_299[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralTertiary_104jb_299[data-pressed][data-focused]{outline:none}._neutralTertiary_104jb_299[data-disabled]{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralQuaternary_104jb_324{background:none;color:var(--alto-sem-color-fg-primary)}._neutralQuaternary_104jb_324[data-focused],._neutralQuaternary_104jb_324[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralQuaternary_104jb_324[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralQuaternary_104jb_324[data-pressed][data-focused]{outline:none}._neutralQuaternary_104jb_324[data-disabled]{background:none;color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._whitePrimary_104jb_350{background:var(--alto-sem-color-bg-white-vibrant-default);color:var(--alto-sem-color-fg-white-on-vibrant)}._whitePrimary_104jb_350[data-focused],._whitePrimary_104jb_350[data-hovered]{background:var(--alto-sem-color-bg-white-vibrant-hover)}._whitePrimary_104jb_350[data-pressed]{background:var(--alto-sem-color-bg-white-vibrant-active)}._whitePrimary_104jb_350[data-pressed][data-focused]{outline:none}._whitePrimary_104jb_350[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whitePrimary_104jb_350[data-disabled]{background:#ffffff52;color:var(--alto-sem-color-fg-disabled-on-vibrant);cursor:not-allowed;pointer-events:none}._whiteSecondary_104jb_379{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-white);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteSecondary_104jb_379[data-focused],._whiteSecondary_104jb_379[data-hovered]{background:var(--alto-sem-color-overlay-state-darken-hover)}._whiteSecondary_104jb_379[data-pressed]{background:var(--alto-sem-color-overlay-state-darken-active)}._whiteSecondary_104jb_379[data-pressed][data-focused]{outline:none}._whiteSecondary_104jb_379[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteSecondary_104jb_379[data-disabled]{border:var(--alto-sem-border-width-sm) solid hsla(0,0%,100%,.32);color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteTertiary_104jb_409{background:var(--alto-sem-color-bg-white-subtle-default);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteTertiary_104jb_409[data-focused],._whiteTertiary_104jb_409[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteTertiary_104jb_409[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteTertiary_104jb_409[data-pressed][data-focused]{outline:none}._whiteTertiary_104jb_409[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteTertiary_104jb_409[data-disabled]{background:#0000000d;color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteQuaternary_104jb_438{background:none;color:var(--alto-sem-color-fg-white-primary)}._whiteQuaternary_104jb_438[data-focused],._whiteQuaternary_104jb_438[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteQuaternary_104jb_438[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteQuaternary_104jb_438[data-pressed][data-focused]{outline:none}._whiteQuaternary_104jb_438[data-focused]{outline-color:var(--alto-sem-color-border-white)}._whiteQuaternary_104jb_438[data-disabled]{background:none;color:#ffffff52;cursor:not-allowed;pointer-events:none}._fa-spinner-third_104jb_469{height:1rem;width:1rem}._icon-wrapper_104jb_474{all:unset;align-items:center;display:flex;height:1em;justify-content:center;width:1em}
@@ -1 +1 @@
1
- ._newButton_1j8um_1{align-items:center;background:var(--alto-sem-color-bg-accent-vibrant-default);border:none;border-radius:var(--alto-button-md-radius);box-sizing:border-box;color:var(--alto-sem-color-fg-accent-on-vibrant);cursor:pointer;display:inline-flex;font-family:var(--alto-sem-text-body-font-family);font-size:var(--alto-sem-text-body-md-font-size);font-style:normal;font-weight:var(--alto-sem-text-body-regular-font-weight);gap:var(--alto-sem-space-2xs);justify-content:center;letter-spacing:var(--alto-sem-text-body-md-letter-spacing);line-height:var(--alto-sem-text-body-md-line-height);max-height:48px;padding:var(--alto-sem-space-xs) var(--alto-sem-space-md);text-decoration:none}._focusWhite_1j8um_28:focus-visible{outline-color:var(--alto-sem-color-border-white)}._sm_1j8um_35{max-height:34px;padding:var(--alto-sem-space-2xs) var(--alto-sem-space-sm)}._md_1j8um_40{max-height:48px;padding:var(--alto-sem-space-xs) var(--alto-sem-space-md)}._lg_1j8um_45{max-height:55px;padding:var(--alto-sem-space-sm) var(--alto-sem-space-lg)}._fullWidth_1j8um_50{width:100%}._accentPrimary_1j8um_58[data-focused],._accentPrimary_1j8um_58[data-hovered]{background:var(--alto-sem-color-bg-accent-vibrant-hover)}._accentPrimary_1j8um_58[data-pressed]{background:var(--alto-sem-color-bg-accent-vibrant-active)}._accentPrimary_1j8um_58[data-pressed][data-focused]{outline:none}._accentPrimary_1j8um_58:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:default;pointer-events:none}._accentSecondary_1j8um_77{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-accent);color:var(--alto-sem-color-fg-accent-primary)}._accentSecondary_1j8um_77[data-focused],._accentSecondary_1j8um_77[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentSecondary_1j8um_77[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentSecondary_1j8um_77[data-pressed][data-focused]{outline:none}._accentSecondary_1j8um_77:disabled{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentTertiary_1j8um_104{background:var(--alto-sem-color-bg-accent-subtle-default);color:var(--alto-sem-color-fg-accent-primary)}._accentTertiary_1j8um_104[data-focused],._accentTertiary_1j8um_104[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentTertiary_1j8um_104[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentTertiary_1j8um_104[data-pressed][data-focused]{outline:none}._accentTertiary_1j8um_104:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentQuaternary_1j8um_129{background:none;color:var(--alto-sem-color-fg-accent-primary)}._accentQuaternary_1j8um_129[data-hovered][data-focused]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentQuaternary_1j8um_129[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentQuaternary_1j8um_129[data-pressed][data-focused]{outline:none}._accentQuaternary_1j8um_129:disabled{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalPrimary_1j8um_153{background:var(--alto-sem-color-bg-critical-vibrant-default);color:var(--alto-sem-color-fg-critical-on-vibrant)}._criticalPrimary_1j8um_153[data-focused],._criticalPrimary_1j8um_153[data-hovered]{background:var(--alto-sem-color-bg-critical-vibrant-hover)}._criticalPrimary_1j8um_153[data-pressed]{background:var(--alto-sem-color-bg-critical-vibrant-active)}._criticalPrimary_1j8um_153[data-pressed][data-focused]{outline:none}._criticalPrimary_1j8um_153:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._criticalSecondary_1j8um_177{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-critical);color:var(--alto-sem-color-fg-critical-primary)}._criticalSecondary_1j8um_177[data-focused],._criticalSecondary_1j8um_177[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalSecondary_1j8um_177[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalSecondary_1j8um_177[data-pressed][data-focused]{outline:none}._criticalSecondary_1j8um_177:disabled{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalTertiary_1j8um_204{background:var(--alto-sem-color-bg-critical-subtle-default);color:var(--alto-sem-color-fg-critical-primary)}._criticalTertiary_1j8um_204[data-focused],._criticalTertiary_1j8um_204[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalTertiary_1j8um_204[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalTertiary_1j8um_204[data-pressed][data-focused]{outline:none}._criticalTertiary_1j8um_204:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalQuaternary_1j8um_229{background:none;color:var(--alto-sem-color-fg-critical-primary)}._criticalQuaternary_1j8um_229[data-focused],._criticalQuaternary_1j8um_229[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalQuaternary_1j8um_229[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalQuaternary_1j8um_229[data-pressed][data-focused]{outline:none}._criticalQuaternary_1j8um_229:disabled{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralPrimary_1j8um_254{background:var(--alto-sem-color-bg-inverse-vibrant-default);color:var(--alto-sem-color-fg-inverse-on-vibrant)}._neutralPrimary_1j8um_254[data-focused],._neutralPrimary_1j8um_254[data-hovered]{background:var(--alto-sem-color-bg-inverse-vibrant-hover)}._neutralPrimary_1j8um_254[data-pressed]{background:var(--alto-sem-color-bg-inverse-vibrant-active)}._neutralPrimary_1j8um_254[data-pressed][data-focused]{outline:none}._neutralPrimary_1j8um_254:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralSecondary_1j8um_278{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-inverse);color:var(--alto-sem-color-fg-inverse-on-subtle)}._neutralSecondary_1j8um_278[data-focused],._neutralSecondary_1j8um_278[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralSecondary_1j8um_278[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralSecondary_1j8um_278[data-pressed][data-focused]{outline:none}._neutralSecondary_1j8um_278:disabled{border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralTertiary_1j8um_303{background:var(--alto-sem-color-bg-inverse-subtle-default);color:var(--alto-sem-color-fg-primary)}._neutralTertiary_1j8um_303[data-focused],._neutralTertiary_1j8um_303[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralTertiary_1j8um_303[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralTertiary_1j8um_303[data-pressed][data-focused]{outline:none}._neutralTertiary_1j8um_303:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralQuaternary_1j8um_328{background:none;color:var(--alto-sem-color-fg-primary)}._neutralQuaternary_1j8um_328[data-focused],._neutralQuaternary_1j8um_328[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralQuaternary_1j8um_328[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralQuaternary_1j8um_328[data-pressed][data-focused]{outline:none}._neutralQuaternary_1j8um_328:disabled{background:none;color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._whitePrimary_1j8um_354{background:var(--alto-sem-color-bg-white-vibrant-default);color:var(--alto-sem-color-fg-white-on-vibrant)}._whitePrimary_1j8um_354[data-focused],._whitePrimary_1j8um_354[data-hovered]{background:var(--alto-sem-color-bg-white-vibrant-hover)}._whitePrimary_1j8um_354[data-pressed]{background:var(--alto-sem-color-bg-white-vibrant-active)}._whitePrimary_1j8um_354[data-pressed][data-focused]{outline:none}._whitePrimary_1j8um_354:disabled{background:#ffffff52;color:var(--alto-sem-color-fg-disabled-on-vibrant);cursor:not-allowed;pointer-events:none}._whiteSecondary_1j8um_379{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-white);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteSecondary_1j8um_379[data-focused],._whiteSecondary_1j8um_379[data-hovered]{background:var(--alto-sem-color-overlay-state-darken-hover)}._whiteSecondary_1j8um_379[data-pressed]{background:var(--alto-sem-color-overlay-state-darken-active)}._whiteSecondary_1j8um_379[data-pressed][data-focused]{outline:none}._whiteSecondary_1j8um_379:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteSecondary_1j8um_379:disabled{border:var(--alto-sem-border-width-sm) solid hsla(0,0%,100%,.32);color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteTertiary_1j8um_409{background:var(--alto-sem-color-bg-white-subtle-default);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteTertiary_1j8um_409[data-focused],._whiteTertiary_1j8um_409[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteTertiary_1j8um_409[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteTertiary_1j8um_409[data-pressed][data-focused]{outline:none}._whiteTertiary_1j8um_409:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteTertiary_1j8um_409:disabled{background:#0000000d;color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteQuaternary_1j8um_438{background:none;color:var(--alto-sem-color-fg-white-primary)}._whiteQuaternary_1j8um_438[data-focused],._whiteQuaternary_1j8um_438[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteQuaternary_1j8um_438[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteQuaternary_1j8um_438[data-pressed][data-focused]{outline:none}._whiteQuaternary_1j8um_438:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteQuaternary_1j8um_438:disabled{background:none;color:#ffffff52;cursor:not-allowed;pointer-events:none}._fa-spinner-third_1j8um_469{height:1rem;width:1rem}._icon-wrapper_1j8um_474{all:unset;align-items:center;display:flex;height:1em;justify-content:center;width:1em}
1
+ ._newButton_1ajlh_1{align-items:center;background:var(--alto-sem-color-bg-accent-vibrant-default);border:none;border-radius:var(--alto-button-md-radius);box-sizing:border-box;color:var(--alto-sem-color-fg-accent-on-vibrant);cursor:pointer;font-family:var(--alto-sem-text-body-font-family);font-size:var(--alto-sem-text-body-md-font-size);font-style:normal;font-weight:var(--alto-sem-text-body-regular-font-weight);justify-content:center;letter-spacing:var(--alto-sem-text-body-md-letter-spacing);line-height:var(--alto-sem-text-body-md-line-height);max-height:48px;padding:var(--alto-sem-space-xs) var(--alto-sem-space-md);text-decoration:none}._newButton_1ajlh_1,._newButton_1ajlh_1 ._content_1ajlh_23{display:inline-flex;gap:var(--alto-sem-space-2xs)}._isNotLoading_1ajlh_31 ._loadingSpinner_1ajlh_31{opacity:0;position:absolute}._isNotLoading_1ajlh_31 ._content_1ajlh_23{opacity:1}._isLoading_1ajlh_40 ._loadingSpinner_1ajlh_31{opacity:1;position:absolute}._isLoading_1ajlh_40 ._content_1ajlh_23{opacity:0}._focusWhite_1ajlh_52:focus-visible{outline-color:var(--alto-sem-color-border-white)}._sm_1ajlh_59{max-height:34px;padding:var(--alto-sem-space-2xs) var(--alto-sem-space-sm)}._md_1ajlh_64{max-height:48px;padding:var(--alto-sem-space-xs) var(--alto-sem-space-md)}._lg_1ajlh_69{max-height:55px;padding:var(--alto-sem-space-sm) var(--alto-sem-space-lg)}._fullWidth_1ajlh_74{width:100%}._accentPrimary_1ajlh_82[data-focused],._accentPrimary_1ajlh_82[data-hovered]{background:var(--alto-sem-color-bg-accent-vibrant-hover)}._accentPrimary_1ajlh_82[data-pressed]{background:var(--alto-sem-color-bg-accent-vibrant-active)}._accentPrimary_1ajlh_82[data-pressed][data-focused]{outline:none}._accentPrimary_1ajlh_82:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:default;pointer-events:none}._accentSecondary_1ajlh_101{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-accent);color:var(--alto-sem-color-fg-accent-primary)}._accentSecondary_1ajlh_101[data-focused],._accentSecondary_1ajlh_101[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentSecondary_1ajlh_101[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentSecondary_1ajlh_101[data-pressed][data-focused]{outline:none}._accentSecondary_1ajlh_101:disabled{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentTertiary_1ajlh_128{background:var(--alto-sem-color-bg-accent-subtle-default);color:var(--alto-sem-color-fg-accent-primary)}._accentTertiary_1ajlh_128[data-focused],._accentTertiary_1ajlh_128[data-hovered]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentTertiary_1ajlh_128[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentTertiary_1ajlh_128[data-pressed][data-focused]{outline:none}._accentTertiary_1ajlh_128:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._accentQuaternary_1ajlh_153{background:none;color:var(--alto-sem-color-fg-accent-primary)}._accentQuaternary_1ajlh_153[data-hovered][data-focused]{background:var(--alto-sem-color-bg-accent-subtle-hover)}._accentQuaternary_1ajlh_153[data-pressed]{background:var(--alto-sem-color-bg-accent-subtle-active)}._accentQuaternary_1ajlh_153[data-pressed][data-focused]{outline:none}._accentQuaternary_1ajlh_153:disabled{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalPrimary_1ajlh_177{background:var(--alto-sem-color-bg-critical-vibrant-default);color:var(--alto-sem-color-fg-critical-on-vibrant)}._criticalPrimary_1ajlh_177[data-focused],._criticalPrimary_1ajlh_177[data-hovered]{background:var(--alto-sem-color-bg-critical-vibrant-hover)}._criticalPrimary_1ajlh_177[data-pressed]{background:var(--alto-sem-color-bg-critical-vibrant-active)}._criticalPrimary_1ajlh_177[data-pressed][data-focused]{outline:none}._criticalPrimary_1ajlh_177:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._criticalSecondary_1ajlh_201{background:var(--alto-sem-color-bg-layer2-default);border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-critical);color:var(--alto-sem-color-fg-critical-primary)}._criticalSecondary_1ajlh_201[data-focused],._criticalSecondary_1ajlh_201[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalSecondary_1ajlh_201[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalSecondary_1ajlh_201[data-pressed][data-focused]{outline:none}._criticalSecondary_1ajlh_201:disabled{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalTertiary_1ajlh_228{background:var(--alto-sem-color-bg-critical-subtle-default);color:var(--alto-sem-color-fg-critical-primary)}._criticalTertiary_1ajlh_228[data-focused],._criticalTertiary_1ajlh_228[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalTertiary_1ajlh_228[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalTertiary_1ajlh_228[data-pressed][data-focused]{outline:none}._criticalTertiary_1ajlh_228:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._criticalQuaternary_1ajlh_253{background:none;color:var(--alto-sem-color-fg-critical-primary)}._criticalQuaternary_1ajlh_253[data-focused],._criticalQuaternary_1ajlh_253[data-hovered]{background:var(--alto-sem-color-bg-critical-subtle-hover)}._criticalQuaternary_1ajlh_253[data-pressed]{background:var(--alto-sem-color-bg-critical-subtle-active)}._criticalQuaternary_1ajlh_253[data-pressed][data-focused]{outline:none}._criticalQuaternary_1ajlh_253:disabled{color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralPrimary_1ajlh_278{background:var(--alto-sem-color-bg-inverse-vibrant-default);color:var(--alto-sem-color-fg-inverse-on-vibrant)}._neutralPrimary_1ajlh_278[data-focused],._neutralPrimary_1ajlh_278[data-hovered]{background:var(--alto-sem-color-bg-inverse-vibrant-hover)}._neutralPrimary_1ajlh_278[data-pressed]{background:var(--alto-sem-color-bg-inverse-vibrant-active)}._neutralPrimary_1ajlh_278[data-pressed][data-focused]{outline:none}._neutralPrimary_1ajlh_278:disabled{background:var(--alto-sem-color-bg-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralSecondary_1ajlh_302{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-inverse);color:var(--alto-sem-color-fg-inverse-on-subtle)}._neutralSecondary_1ajlh_302[data-focused],._neutralSecondary_1ajlh_302[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralSecondary_1ajlh_302[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralSecondary_1ajlh_302[data-pressed][data-focused]{outline:none}._neutralSecondary_1ajlh_302:disabled{border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-disabled-vibrant);cursor:not-allowed;pointer-events:none}._neutralTertiary_1ajlh_327{background:var(--alto-sem-color-bg-inverse-subtle-default);color:var(--alto-sem-color-fg-primary)}._neutralTertiary_1ajlh_327[data-focused],._neutralTertiary_1ajlh_327[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralTertiary_1ajlh_327[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralTertiary_1ajlh_327[data-pressed][data-focused]{outline:none}._neutralTertiary_1ajlh_327:disabled{background:var(--alto-sem-color-bg-disabled-subtle);color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._neutralQuaternary_1ajlh_352{background:none;color:var(--alto-sem-color-fg-primary)}._neutralQuaternary_1ajlh_352[data-focused],._neutralQuaternary_1ajlh_352[data-hovered]{background:var(--alto-sem-color-bg-inverse-subtle-hover)}._neutralQuaternary_1ajlh_352[data-pressed]{background:var(--alto-sem-color-bg-inverse-subtle-active)}._neutralQuaternary_1ajlh_352[data-pressed][data-focused]{outline:none}._neutralQuaternary_1ajlh_352:disabled{background:none;color:var(--alto-sem-color-fg-disabled-primary);cursor:not-allowed;pointer-events:none}._whitePrimary_1ajlh_378{background:var(--alto-sem-color-bg-white-vibrant-default);color:var(--alto-sem-color-fg-white-on-vibrant)}._whitePrimary_1ajlh_378[data-focused],._whitePrimary_1ajlh_378[data-hovered]{background:var(--alto-sem-color-bg-white-vibrant-hover)}._whitePrimary_1ajlh_378[data-pressed]{background:var(--alto-sem-color-bg-white-vibrant-active)}._whitePrimary_1ajlh_378[data-pressed][data-focused]{outline:none}._whitePrimary_1ajlh_378:disabled{background:#ffffff52;color:var(--alto-sem-color-fg-disabled-on-vibrant);cursor:not-allowed;pointer-events:none}._whiteSecondary_1ajlh_403{background:none;border:var(--alto-sem-border-width-sm) solid var(--alto-sem-color-border-white);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteSecondary_1ajlh_403[data-focused],._whiteSecondary_1ajlh_403[data-hovered]{background:var(--alto-sem-color-overlay-state-darken-hover)}._whiteSecondary_1ajlh_403[data-pressed]{background:var(--alto-sem-color-overlay-state-darken-active)}._whiteSecondary_1ajlh_403[data-pressed][data-focused]{outline:none}._whiteSecondary_1ajlh_403:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteSecondary_1ajlh_403:disabled{border:var(--alto-sem-border-width-sm) solid hsla(0,0%,100%,.32);color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteTertiary_1ajlh_433{background:var(--alto-sem-color-bg-white-subtle-default);color:var(--alto-sem-color-fg-white-on-subtle)}._whiteTertiary_1ajlh_433[data-focused],._whiteTertiary_1ajlh_433[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteTertiary_1ajlh_433[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteTertiary_1ajlh_433[data-pressed][data-focused]{outline:none}._whiteTertiary_1ajlh_433:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteTertiary_1ajlh_433:disabled{background:#0000000d;color:#ffffff52;cursor:not-allowed;pointer-events:none}._whiteQuaternary_1ajlh_462{background:none;color:var(--alto-sem-color-fg-white-primary)}._whiteQuaternary_1ajlh_462[data-focused],._whiteQuaternary_1ajlh_462[data-hovered]{background:var(--alto-sem-color-bg-white-subtle-hover)}._whiteQuaternary_1ajlh_462[data-pressed]{background:var(--alto-sem-color-bg-white-subtle-active)}._whiteQuaternary_1ajlh_462[data-pressed][data-focused]{outline:none}._whiteQuaternary_1ajlh_462:focus-visible{outline-color:var(--alto-sem-color-border-white)}._whiteQuaternary_1ajlh_462:disabled{background:none;color:#ffffff52;cursor:not-allowed;pointer-events:none}._fa-spinner-third_1ajlh_493{height:1rem;width:1rem}._icon-wrapper_1ajlh_498{all:unset;align-items:center;display:flex;height:1em;justify-content:center;width:1em}
@@ -0,0 +1 @@
1
+ ._subHeading_1ngd2_1{display:block;font-family:var(--alto-sem-text-heading-font-family);font-style:normal;font-weight:var(--alto-sem-text-heading-font-weight);margin:0}._xs_1ngd2_9{font-size:var(--alto-sem-text-heading-xs-font-size);letter-spacing:var(--alto-sem-text-heading-xs-letter-spacing);line-height:var(--alto-sem-text-heading-xs-line-height)}._sm_1ngd2_15{font-size:var(--alto-sem-text-heading-sm-font-size);letter-spacing:var(--alto-sem-text-heading-sm-letter-spacing);line-height:var(--alto-sem-text-heading-sm-line-height)}._start_1ngd2_21{text-align:start}._center_1ngd2_25{text-align:center}._end_1ngd2_29{text-align:end}
@@ -0,0 +1 @@
1
+ ._fgColor-primary_1njr6_1{color:var(--alto-sem-color-fg-primary)}._fgColor-secondary_1njr6_5{color:var(--alto-sem-color-fg-secondary)}._fgColor-accent-primary_1njr6_9{color:var(--alto-sem-color-fg-accent-primary)}._fgColor-accent-secondary_1njr6_13{color:var(--alto-sem-color-fg-accent-secondary)}._fgColor-accent-on-vibrant_1njr6_17{color:var(--alto-sem-color-fg-accent-on-vibrant)}._fgColor-accent-on-vibrant-accent_1njr6_21{color:var(--alto-sem-color-fg-accent-on-vibrant-accent)}._fgColor-accent-on-subtle_1njr6_25{color:var(--alto-sem-color-fg-accent-on-subtle)}._fgColor-accent-on-deep_1njr6_29{color:var(--alto-sem-color-fg-accent-on-deep)}._fgColor-critical-primary_1njr6_33{color:var(--alto-sem-color-fg-critical-primary)}._fgColor-critical-on-vibrant_1njr6_37{color:var(--alto-sem-color-fg-critical-on-vibrant)}._fgColor-critical-on-subtle_1njr6_41{color:var(--alto-sem-color-fg-critical-on-subtle)}._fgColor-warning-primary_1njr6_45{color:var(--alto-sem-color-fg-warning-primary)}._fgColor-warning-on-vibrant_1njr6_49{color:var(--alto-sem-color-fg-warning-on-vibrant)}._fgColor-warning-on-subtle_1njr6_53{color:var(--alto-sem-color-fg-warning-on-subtle)}._fgColor-caution-primary_1njr6_57{color:var(--alto-sem-color-fg-caution-primary)}._fgColor-caution-on-vibrant_1njr6_61{color:var(--alto-sem-color-fg-caution-on-vibrant)}._fgColor-caution-on-subtle_1njr6_65{color:var(--alto-sem-color-fg-caution-on-subtle)}._fgColor-success-primary_1njr6_69{color:var(--alto-sem-color-fg-success-primary)}._fgColor-success-on-vibrant_1njr6_73{color:var(--alto-sem-color-fg-success-on-vibrant)}._fgColor-success-on-subtle_1njr6_77{color:var(--alto-sem-color-fg-success-on-subtle)}._fgColor-information-primary_1njr6_81{color:var(--alto-sem-color-fg-information-primary)}._fgColor-information-on-vibrant_1njr6_85{color:var(--alto-sem-color-fg-information-on-vibrant)}._fgColor-information-on-subtle_1njr6_89{color:var(--alto-sem-color-fg-information-on-subtle)}._fgColor-inverse-primary_1njr6_93{color:var(--alto-sem-color-fg-inverse-primary)}._fgColor-inverse-on-vibrant_1njr6_97{color:var(--alto-sem-color-fg-inverse-on-vibrant)}._fgColor-inverse-on-subtle_1njr6_101{color:var(--alto-sem-color-fg-inverse-on-subtle)}._fgColor-white-primary_1njr6_105{color:var(--alto-sem-color-fg-white-primary)}._fgColor-white-on-vibrant_1njr6_109{color:var(--alto-sem-color-fg-white-on-vibrant)}._fgColor-white-on-subtle_1njr6_113{color:var(--alto-sem-color-fg-white-on-subtle)}._fgColor-disabled-primary_1njr6_117{color:var(--alto-sem-color-fg-disabled-primary)}._fgColor-disabled-on-vibrant_1njr6_121{color:var(--alto-sem-color-fg-disabled-on-vibrant)}._fgColor-disabled-on-subtle_1njr6_125{color:var(--alto-sem-color-fg-disabled-on-subtle)}._fgColor-sale-primary_1njr6_129{color:var(--alto-sem-color-fg-sale-primary)}._fgColor-sale-on-vibrant_1njr6_133{color:var(--alto-sem-color-fg-sale-on-vibrant)}
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as cva } from "../../index-Cn2Ts93C.js";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
3
  import { Icon } from "../Icon/Icon.js";
4
4
  import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
5
5
  import '../../assets/Badge.css';const badge$1 = "_badge_g5nmg_1";
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { c as cva } from "../../index-Cn2Ts93C.js";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import { Button as Button$1 } from "react-aria-components";
5
5
  import { Icon } from "../Icon/Icon.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { Checkbox as Checkbox$1 } from "react-aria-components";
3
- import { c as cva } from "../../index-Cn2Ts93C.js";
3
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
4
4
  import FieldDescription from "../FieldDescription/FieldDescription.js";
5
5
  import '../../assets/Checkbox.css';const checkbox$1 = "_checkbox_1xmgx_2";
6
6
  const checkboxLabel = "_checkboxLabel_1xmgx_19";
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as cva } from "../../index-Cn2Ts93C.js";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
3
  import { Button } from "react-aria-components";
4
4
  import { Icon } from "../Icon/Icon.js";
5
5
  import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
@@ -1,5 +1,5 @@
1
1
  import { DateFieldProps as AriaDateFieldProps, DateValue, ValidationResult } from 'react-aria-components';
2
- export interface DateFieldProps<T extends DateValue> extends AriaDateFieldProps<T> {
2
+ export interface DateFieldProps extends AriaDateFieldProps<DateValue> {
3
3
  /**
4
4
  * The label for the TextField
5
5
  */
@@ -21,5 +21,5 @@ export interface DateFieldProps<T extends DateValue> extends AriaDateFieldProps<
21
21
  */
22
22
  isInvalid?: boolean;
23
23
  }
24
- export declare const DateField: <T extends DateValue>({ label, description, errorMessage, isRequired, isInvalid, isDisabled, ...props }: DateFieldProps<T>) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const DateField: ({ label, description, errorMessage, isRequired, isInvalid, isDisabled, value, ...props }: DateFieldProps) => import("react/jsx-runtime").JSX.Element;
25
25
  export default DateField;
@@ -16,9 +16,10 @@ const DateField = ({
16
16
  isRequired = false,
17
17
  isInvalid = false,
18
18
  isDisabled = false,
19
+ value,
19
20
  ...props
20
21
  }) => {
21
- return /* @__PURE__ */ jsxs(DateField$1, { className: styles.dateField, isInvalid, isDisabled, ...props, children: [
22
+ return /* @__PURE__ */ jsxs(DateField$1, { className: styles.dateField, isInvalid, isDisabled, value, ...props, children: [
22
23
  /* @__PURE__ */ jsx(FieldHeader, { label, description, errorMessage, isRequired, isInvalid }),
23
24
  /* @__PURE__ */ jsx(DateInput, { className: styles.dateInput, children: (segment) => /* @__PURE__ */ jsx(DateSegment, { className: styles.dateSegment, segment }) })
24
25
  ] });
@@ -1 +1 @@
1
- {"version":3,"file":"DateField.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DateField.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export interface EyebrowProps {
3
+ children: React.ReactNode;
4
+ as?: 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
+ styleVariant?: 'inspiration' | 'collect' | 'spend' | 'activate';
6
+ }
7
+ export declare const Eyebrow: ({ children, as: Component, styleVariant, ...props }: EyebrowProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Eyebrow;
@@ -0,0 +1,42 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
+ import '../../assets/Eyebrow.css';const eyebrow$1 = "_eyebrow_c96e1_1";
4
+ const inspiration = "_inspiration_c96e1_15";
5
+ const collect = "_collect_c96e1_19";
6
+ const spend = "_spend_c96e1_23";
7
+ const activate = "_activate_c96e1_28";
8
+ const styles = {
9
+ eyebrow: eyebrow$1,
10
+ inspiration,
11
+ collect,
12
+ spend,
13
+ activate
14
+ };
15
+ const eyebrow = cva(styles.eyebrow, {
16
+ variants: {
17
+ styleVariant: {
18
+ inspiration: styles.inspiration,
19
+ collect: styles.collect,
20
+ spend: styles.spend,
21
+ activate: styles.activate
22
+ }
23
+ },
24
+ defaultVariants: {
25
+ styleVariant: "inspiration"
26
+ }
27
+ });
28
+ const Eyebrow = ({
29
+ children,
30
+ as: Component = "span",
31
+ styleVariant = "inspiration",
32
+ ...props
33
+ }) => {
34
+ return /* @__PURE__ */ jsx(Component, { className: `${eyebrow({
35
+ styleVariant
36
+ })} ''}`, ...props, children });
37
+ };
38
+ export {
39
+ Eyebrow,
40
+ Eyebrow as default
41
+ };
42
+ //# sourceMappingURL=Eyebrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Eyebrow.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export { default } from './Eyebrow';
@@ -0,0 +1,5 @@
1
+ import { Eyebrow } from "./Eyebrow.js";
2
+ export {
3
+ Eyebrow as default
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { fgColorVariants } from '../../utils/fgColour/fgColor';
4
+ declare const heading: (props?: ({
5
+ size?: "lg" | "sm" | "xs" | "md" | "xxs" | "xl" | null | undefined;
6
+ textAlign?: "center" | "start" | "end" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ type HeadingVariants = VariantProps<typeof heading>;
9
+ type FgColorVariants = VariantProps<typeof fgColorVariants>;
10
+ type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
11
+ type HeadingSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
12
+ export interface HeadingProps extends HeadingVariants {
13
+ children: React.ReactNode;
14
+ as?: HeadingLevel;
15
+ size?: HeadingSize;
16
+ fgColor?: FgColorVariants['fgColor'];
17
+ textAlign?: 'start' | 'center' | 'end';
18
+ }
19
+ export declare const Heading: ({ children, as: Component, size, fgColor, textAlign, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
20
+ export default Heading;
@@ -0,0 +1,77 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
+ import { fgColorVariants } from "../../utils/fgColour/fgColor.js";
4
+ import '../../assets/Heading.css';const heading$1 = "_heading_14dsg_1";
5
+ const xxs = "_xxs_14dsg_9";
6
+ const xs = "_xs_14dsg_15";
7
+ const sm = "_sm_14dsg_21";
8
+ const md = "_md_14dsg_27";
9
+ const lg = "_lg_14dsg_33";
10
+ const xl = "_xl_14dsg_39";
11
+ const start = "_start_14dsg_45";
12
+ const center = "_center_14dsg_49";
13
+ const end = "_end_14dsg_53";
14
+ const styles = {
15
+ heading: heading$1,
16
+ xxs,
17
+ xs,
18
+ sm,
19
+ md,
20
+ lg,
21
+ xl,
22
+ start,
23
+ center,
24
+ end
25
+ };
26
+ const heading = cva(styles.heading, {
27
+ variants: {
28
+ size: {
29
+ "xxs": styles.xxs,
30
+ "xs": styles.xs,
31
+ "sm": styles.sm,
32
+ "md": styles.md,
33
+ "lg": styles.lg,
34
+ "xl": styles.xl
35
+ },
36
+ textAlign: {
37
+ start: styles.start,
38
+ center: styles.center,
39
+ end: styles.end
40
+ }
41
+ },
42
+ defaultVariants: {
43
+ size: "md",
44
+ textAlign: "start"
45
+ }
46
+ });
47
+ const DEFAULT_HEADING_SIZE_MAP = {
48
+ h1: "xl",
49
+ h2: "lg",
50
+ h3: "md",
51
+ h4: "sm",
52
+ h5: "xs",
53
+ h6: "xxs",
54
+ span: "md"
55
+ // Default for span elements
56
+ };
57
+ const Heading = ({
58
+ children,
59
+ as: Component = "h1",
60
+ size,
61
+ fgColor = "accentPrimary",
62
+ textAlign = "start",
63
+ ...props
64
+ }) => {
65
+ const effectiveSize = size || DEFAULT_HEADING_SIZE_MAP[Component];
66
+ return /* @__PURE__ */ jsx(Component, { className: `${heading({
67
+ size: effectiveSize,
68
+ textAlign
69
+ })} ${fgColorVariants({
70
+ fgColor
71
+ })}`, ...props, children });
72
+ };
73
+ export {
74
+ Heading,
75
+ Heading as default
76
+ };
77
+ //# sourceMappingURL=Heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export { default } from './Heading';
@@ -0,0 +1,5 @@
1
+ import { Heading } from "./Heading.js";
2
+ export {
3
+ Heading as default
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -41,7 +41,19 @@ export interface IconProps {
41
41
  * Additional attributes to be passed to the underlying <svg> element.
42
42
  */
43
43
  [key: string]: any;
44
+ /**
45
+ * className to be passed to the icon
46
+ */
44
47
  className?: string;
48
+ /**
49
+ * Whether the icon is purely decorative and should be hidden from screen readers.
50
+ * @default false
51
+ */
52
+ isDecorative?: boolean;
53
+ /**
54
+ * Accessible text for the icon. If the icon is decorative, this can be omitted.
55
+ */
56
+ ariaLabel?: string;
45
57
  }
46
- export declare const Icon: ({ iconName, iconPrefix, iconSize: size, flip, fixedWidth, listItem, border, rotation, pull, spin, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
58
+ export declare const Icon: ({ iconName, iconPrefix, iconSize: size, flip, fixedWidth, listItem, border, rotation, pull, spin, className, ariaLabel, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
47
59
  export default Icon;
@@ -12,14 +12,20 @@ const Icon = ({
12
12
  pull,
13
13
  spin,
14
14
  className,
15
+ ariaLabel,
15
16
  ...props
16
17
  }) => {
17
18
  const [key, setKey] = useState(0);
18
19
  useEffect(() => {
19
20
  setKey((prevKey) => prevKey + 1);
20
- }, [iconName, iconPrefix, size, flip, fixedWidth, listItem, border, rotation, pull, spin]);
21
+ }, [iconName, iconPrefix, size, flip, fixedWidth, listItem, border, rotation, pull, spin, ariaLabel]);
22
+ const accessibilityProps = ariaLabel ? {
23
+ "aria-label": ariaLabel
24
+ } : {
25
+ "aria-label": iconName
26
+ };
21
27
  const classNames = [iconPrefix, `fa-${iconName}`, size ? `fa-${size}` : "", flip ? `fa-flip-${flip}` : "", fixedWidth ? "fa-fw" : "", listItem ? "fa-li" : "", border ? "fa-border" : "", rotation ? `fa-rotate-${rotation}` : "", pull ? `fa-pull-${pull}` : "", spin ? "fa-spin" : ""].filter(Boolean).join(" ");
22
- return /* @__PURE__ */ jsx("span", { className: `icon-wrapper ${className || ""}`, children: /* @__PURE__ */ jsx("i", { className: classNames, ...props, role: "img" }) }, key);
28
+ return /* @__PURE__ */ jsx("span", { className: `icon-wrapper ${className || ""}`, children: /* @__PURE__ */ jsx("i", { className: classNames, ...accessibilityProps, ...props, role: "img" }) }, key);
23
29
  };
24
30
  export {
25
31
  Icon,
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Icon.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,30 +1,30 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as cva } from "../../index-Cn2Ts93C.js";
2
+ import { c as cva } from "../../index-Bi3v_EjJ.js";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import { Button } from "react-aria-components";
5
5
  import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
6
6
  import { Icon } from "../Icon/Icon.js";
7
7
  import LoadingSpinner from "../LoadingSpinner/LoadingSpinner.js";
8
- import '../../assets/IconButton.css';const iconButton$1 = "_iconButton_1q4my_1";
9
- const sm = "_sm_1q4my_24";
10
- const md = "_md_1q4my_30";
11
- const lg = "_lg_1q4my_36";
12
- const accentPrimary = "_accentPrimary_1q4my_46";
13
- const accentSecondary = "_accentSecondary_1q4my_69";
14
- const accentTertiary = "_accentTertiary_1q4my_96";
15
- const accentQuaternary = "_accentQuaternary_1q4my_125";
16
- const criticalPrimary = "_criticalPrimary_1q4my_149";
17
- const criticalSecondary = "_criticalSecondary_1q4my_173";
18
- const criticalTertiary = "_criticalTertiary_1q4my_200";
19
- const criticalQuaternary = "_criticalQuaternary_1q4my_225";
20
- const neutralPrimary = "_neutralPrimary_1q4my_250";
21
- const neutralSecondary = "_neutralSecondary_1q4my_274";
22
- const neutralTertiary = "_neutralTertiary_1q4my_299";
23
- const neutralQuaternary = "_neutralQuaternary_1q4my_324";
24
- const whitePrimary = "_whitePrimary_1q4my_350";
25
- const whiteSecondary = "_whiteSecondary_1q4my_379";
26
- const whiteTertiary = "_whiteTertiary_1q4my_409";
27
- const whiteQuaternary = "_whiteQuaternary_1q4my_438";
8
+ import '../../assets/IconButton.css';const iconButton$1 = "_iconButton_104jb_1";
9
+ const sm = "_sm_104jb_24";
10
+ const md = "_md_104jb_30";
11
+ const lg = "_lg_104jb_36";
12
+ const accentPrimary = "_accentPrimary_104jb_46";
13
+ const accentSecondary = "_accentSecondary_104jb_69";
14
+ const accentTertiary = "_accentTertiary_104jb_96";
15
+ const accentQuaternary = "_accentQuaternary_104jb_125";
16
+ const criticalPrimary = "_criticalPrimary_104jb_149";
17
+ const criticalSecondary = "_criticalSecondary_104jb_173";
18
+ const criticalTertiary = "_criticalTertiary_104jb_200";
19
+ const criticalQuaternary = "_criticalQuaternary_104jb_225";
20
+ const neutralPrimary = "_neutralPrimary_104jb_250";
21
+ const neutralSecondary = "_neutralSecondary_104jb_274";
22
+ const neutralTertiary = "_neutralTertiary_104jb_299";
23
+ const neutralQuaternary = "_neutralQuaternary_104jb_324";
24
+ const whitePrimary = "_whitePrimary_104jb_350";
25
+ const whiteSecondary = "_whiteSecondary_104jb_379";
26
+ const whiteTertiary = "_whiteTertiary_104jb_409";
27
+ const whiteQuaternary = "_whiteQuaternary_104jb_438";
28
28
  const styles = {
29
29
  iconButton: iconButton$1,
30
30
  sm,
@@ -46,8 +46,8 @@ const styles = {
46
46
  whiteSecondary,
47
47
  whiteTertiary,
48
48
  whiteQuaternary,
49
- "fa-spinner-third": "_fa-spinner-third_1q4my_469",
50
- "icon-wrapper": "_icon-wrapper_1q4my_474"
49
+ "fa-spinner-third": "_fa-spinner-third_104jb_469",
50
+ "icon-wrapper": "_icon-wrapper_104jb_474"
51
51
  };
52
52
  const iconButton = cva(styles.iconButton, {
53
53
  variants: {
@@ -1,4 +1,5 @@
1
1
  import { LinkProps as AriaLinkProps } from 'react-aria-components';
2
+ import { IconProps } from '../Icon/Icon';
2
3
  export interface LinkProps extends AriaLinkProps {
3
4
  /**
4
5
  * What the size of the Link is
@@ -10,10 +11,6 @@ export interface LinkProps extends AriaLinkProps {
10
11
  * @default true
11
12
  */
12
13
  iconEnd?: boolean;
13
- /**
14
- * What Icon to load from fontAwesome
15
- */
16
- iconName?: string | undefined;
17
14
  /**
18
15
  * The text to display in the Link
19
16
  */
@@ -63,6 +60,10 @@ export interface LinkProps extends AriaLinkProps {
63
60
  * The focus style of the button
64
61
  */
65
62
  focusStyle?: 'default' | 'white';
63
+ /**
64
+ * Whether an icon should display at the start of the TextField
65
+ */
66
+ iconProps?: IconProps;
66
67
  }
67
- declare const Link: ({ size, iconEnd, underline, iconName, linkText, href, target, rel, download, isDisabled, autoFocus, ping, focusStyle, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
68
+ declare const Link: ({ size, iconEnd, underline, iconProps, linkText, href, target, rel, download, isDisabled, autoFocus, ping, focusStyle, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
68
69
  export default Link;