cross-country 1.2.7 → 1.2.8
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/README.md +34 -8
- package/dist/{Color-6VNJS4EI-CmFmiWqi.js → Color-6VNJS4EI-3JDZvzXi.js} +23 -19
- package/dist/GithubLogo-dbNM-bil.js +47 -0
- package/dist/IconBase-WptwR6ai.js +71 -0
- package/dist/PlusSquare-9jIfbmkB.js +47 -0
- package/dist/TwitterLogo-oo4JOGK4.js +89 -0
- package/dist/{syntaxhighlighter-V7JZZA35-JaSFw2W2.js → WithTooltip-V3YHNWJZ--LUmVRig.js} +9 -5
- package/dist/{bolt-fWhK4qLY.js → bolt-yv1IuL_M.js} +7 -3
- package/dist/{branch-list-OY1H10zt.js → branch-list-gU07EQN1.js} +16 -12
- package/dist/bundle.css +46 -38
- package/dist/card.module-Xa2b1kmC.js +6 -0
- package/dist/components/atoms/form/form.d.ts +8 -0
- package/dist/components/atoms/form/form.js +7 -0
- package/dist/components/atoms/form/index.d.ts +1 -0
- package/dist/components/atoms/form/index.js +7 -0
- package/dist/components/atoms/horizontal-line/horizontal-line.d.ts +6 -0
- package/dist/components/atoms/horizontal-line/horizontal-line.js +7 -0
- package/dist/components/atoms/horizontal-line/index.d.ts +1 -0
- package/dist/components/atoms/horizontal-line/index.js +7 -0
- package/dist/components/atoms/link/link.js +18 -10
- package/dist/components/atoms/radio/index.d.js +3 -2
- package/dist/components/atoms/radio/index.d.ts +0 -1
- package/dist/components/atoms/radio/index.js +8 -0
- package/dist/components/atoms/radio/radio.d.ts +8 -11
- package/dist/components/atoms/radio/radio.js +8 -0
- package/dist/components/atoms/text/input/text-input.d.ts +4 -1
- package/dist/components/atoms/text/input/text-input.js +35 -22
- package/dist/components/atoms/text/span/__stories__/span-story.js +7 -3
- package/dist/components/index.d.ts +70 -70
- package/dist/components/index.js +131 -120
- package/dist/components/molecules/card/card.d.ts +7 -0
- package/dist/components/molecules/card/card.js +21 -0
- package/dist/components/molecules/card/index.d.ts +1 -0
- package/dist/components/molecules/card/index.js +9 -0
- package/dist/components/molecules/day-number/__stories__/day-number-story.js +7 -3
- package/dist/components/molecules/day-number/day-number.js +7 -3
- package/dist/components/molecules/day-number/index.js +7 -3
- package/dist/components/molecules/field/__stories__/field-story.js +7 -3
- package/dist/components/molecules/field/field.js +13 -9
- package/dist/components/molecules/field/index.js +7 -3
- package/dist/components/molecules/gold-leaf/__stories___/gold-leaf-story.js +9 -5
- package/dist/components/molecules/gold-leaf/gold-leaf-post/__stories__/gold-leaf-post-story.js +9 -5
- package/dist/components/molecules/gold-leaf/gold-leaf-post/gold-leaf-post.js +12 -8
- package/dist/components/molecules/gold-leaf/gold-leaf-view/__stories__/gold-leaf-view-story.js +9 -5
- package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +7 -3
- package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/__stories___/gold-leaf-controls-story.js +7 -3
- package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +16 -12
- package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +8 -4
- package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +8 -4
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +9 -5
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/golf-leaf-image.js +10 -6
- package/dist/components/molecules/gold-leaf/gold-leaf.js +9 -5
- package/dist/components/molecules/gold-leaf/index.js +9 -5
- package/dist/components/molecules/hero/hero.d.ts +9 -0
- package/dist/components/molecules/hero/hero.js +32 -0
- package/dist/components/molecules/hero/index.d.ts +1 -0
- package/dist/components/molecules/hero/index.js +28 -0
- package/dist/components/molecules/icons/x/index.d.ts +1 -0
- package/dist/components/molecules/icons/x/index.js +27 -0
- package/dist/components/molecules/icons/x/x.d.ts +2 -0
- package/dist/components/molecules/icons/x/x.js +27 -0
- package/dist/components/molecules/key-value-pairs/__stories__/key-value-pairs-story.js +8 -4
- package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +6 -2
- package/dist/components/molecules/key-value-pairs/index.js +7 -3
- package/dist/components/molecules/key-value-pairs/key-value-pairs.js +8 -4
- package/dist/components/molecules/keywords/__stories__/keywords-story.d.ts +2 -0
- package/dist/components/molecules/keywords/__stories__/keywords-story.js +76 -0
- package/dist/components/molecules/keywords/index.d.ts +1 -0
- package/dist/components/molecules/keywords/index.js +32 -0
- package/dist/components/molecules/keywords/keywords.d.ts +4 -0
- package/dist/components/molecules/keywords/keywords.js +45 -0
- package/dist/components/molecules/listicle/listicle.js +26 -24
- package/dist/components/molecules/listicle/post-link.d.ts +2 -0
- package/dist/components/molecules/listicle/post-link.js +56 -0
- package/dist/components/molecules/log-error-boundary/__stories__/log-error-boundary-story.js +7 -3
- package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +5 -1
- package/dist/components/molecules/log-error-boundary/index.js +7 -3
- package/dist/components/molecules/log-error-boundary/log-error-boundary.js +7 -3
- package/dist/components/molecules/policies/privacy-policy.js +7 -3
- package/dist/components/molecules/policies/terms-of-use.js +7 -3
- package/dist/components/molecules/profile-porthole/__stories__/profile-porthole-story.js +8 -4
- package/dist/components/molecules/profile-porthole/__tests__/profile-porthole.test.js +10 -6
- package/dist/components/molecules/profile-porthole/index.js +8 -4
- package/dist/components/molecules/profile-porthole/profile-porthole.js +8 -4
- package/dist/components/molecules/radiogroup/__stories__/radio-group-form-story.d.ts +2 -0
- package/dist/components/molecules/radiogroup/__stories__/radio-group-form-story.js +76 -0
- package/dist/components/molecules/radiogroup/__stories__/radio-group-react-hook-form-story.d.ts +2 -0
- package/dist/components/molecules/radiogroup/__stories__/radio-group-react-hook-form-story.js +76 -0
- package/dist/components/molecules/radiogroup/index.d.ts +1 -0
- package/dist/components/molecules/radiogroup/index.js +14 -0
- package/dist/components/molecules/radiogroup/radiogroup.d.ts +8 -0
- package/dist/components/molecules/radiogroup/radiogroup.js +43 -0
- package/dist/components/molecules/stagger/index.d.ts +1 -0
- package/dist/components/molecules/stagger/index.js +27 -0
- package/dist/components/molecules/stagger/stagger.d.ts +22 -0
- package/dist/components/molecules/stagger/stagger.js +61 -0
- package/dist/components/molecules/tile/tile-interactive.js +18 -14
- package/dist/components/molecules/tile/tile.js +7 -3
- package/dist/components/molecules/time-progress/__stories__/progress-story.js +7 -3
- package/dist/components/molecules/time-progress/__tests__/progress.test.js +9 -5
- package/dist/components/molecules/time-progress/index.js +7 -3
- package/dist/components/molecules/time-progress/progress-over-year.js +7 -3
- package/dist/components/molecules/time-progress/progress.js +7 -3
- package/dist/components/molecules/tree/folder/types.d.ts +17 -0
- package/dist/components/molecules/tree/folder/types.js +1 -0
- package/dist/components/organisms/actors/actor/actor.js +6 -2
- package/dist/components/organisms/actors/actor/index.js +6 -2
- package/dist/components/organisms/actors/party/cleric/cleric.js +11 -7
- package/dist/components/organisms/actors/party/cleric/index.js +7 -3
- package/dist/components/organisms/actors/party/warrior/index.js +7 -3
- package/dist/components/organisms/actors/party/warrior/warrior.js +10 -6
- package/dist/components/organisms/actors/party/wizard/index.js +7 -3
- package/dist/components/organisms/actors/party/wizard/wizard.js +7 -3
- package/dist/components/organisms/actors/wisp/index.js +7 -3
- package/dist/components/organisms/actors/wisp/wisp.js +7 -3
- package/dist/components/organisms/branches/__stories__/branches-story.js +10 -6
- package/dist/components/organisms/branches/__tests__/branch-list.test.js +13 -9
- package/dist/components/organisms/branches/branch-list.js +9 -5
- package/dist/components/organisms/branches/branches.js +10 -6
- package/dist/components/organisms/branches/index.js +10 -6
- package/dist/components/organisms/charts/chart/__stories__/chart-story.js +10 -6
- package/dist/components/organisms/charts/chart/chart-gold-leaf/chart-gold-leaf.js +5 -1
- package/dist/components/organisms/charts/chart/chart-gold-leaf/index.js +7 -3
- package/dist/components/organisms/charts/chart/chart.js +10 -6
- package/dist/components/organisms/charts/chart/index.js +7 -3
- package/dist/components/organisms/clusters/cluster.js +7 -3
- package/dist/components/organisms/login/login-feedback-transition.js +10 -6
- package/dist/components/organisms/login/login-fetching-transition.js +9 -5
- package/dist/components/organisms/login/login-fields-transition.js +15 -11
- package/dist/components/organisms/login/login-response-transition.js +18 -14
- package/dist/components/organisms/login/login-submit-transition.js +11 -7
- package/dist/components/organisms/login/login-view.js +29 -25
- package/dist/components/organisms/login/login.js +8 -4
- package/dist/components/organisms/metrics/index.js +7 -3
- package/dist/components/organisms/metrics/metrics.js +7 -3
- package/dist/components/organisms/palettes/__stories__/palettes-story.js +7 -3
- package/dist/components/organisms/palettes/index.js +7 -3
- package/dist/components/organisms/palettes/palettes.js +18 -14
- package/dist/components/organisms/stage/index.js +7 -3
- package/dist/components/organisms/stage/stage.js +7 -3
- package/dist/components/organisms/survey/__stories__/build-form-story.d.ts +2 -0
- package/dist/components/organisms/survey/__stories__/build-form-story.js +64 -0
- package/dist/components/organisms/survey/build-form-machine.d.ts +36 -0
- package/dist/components/organisms/survey/build-form-machine.js +107 -0
- package/dist/components/organisms/survey/build-form.d.ts +6 -0
- package/dist/components/organisms/survey/build-form.js +70 -0
- package/dist/components/organisms/survey/final-form.d.ts +6 -0
- package/dist/components/organisms/survey/final-form.js +93 -0
- package/dist/components/organisms/survey/question/edit/__stories__/edit-question-story.d.ts +5 -0
- package/dist/components/organisms/survey/question/edit/__stories__/edit-question-story.js +64 -0
- package/dist/components/organisms/survey/question/edit/add-question/__stories__/add-question-story.d.ts +2 -0
- package/dist/components/organisms/survey/question/edit/add-question/__stories__/add-question-story.js +17 -0
- package/dist/components/organisms/survey/question/edit/add-question/add-question.d.ts +6 -0
- package/dist/components/organisms/survey/question/edit/add-question/add-question.js +86 -0
- package/dist/components/organisms/survey/question/edit/add-question/index.d.ts +1 -0
- package/dist/components/organisms/survey/question/edit/add-question/index.js +40 -0
- package/dist/components/organisms/survey/question/edit/answer/answer-input.d.ts +7 -0
- package/dist/components/organisms/survey/question/edit/answer/answer-input.js +84 -0
- package/dist/components/organisms/survey/question/edit/answer/index.d.ts +1 -0
- package/dist/components/organisms/survey/question/edit/answer/index.js +29 -0
- package/dist/components/organisms/survey/question/edit/answer-input.d.ts +6 -0
- package/dist/components/organisms/survey/question/edit/answer-input.js +50 -0
- package/dist/components/organisms/survey/question/edit/edit-multiple-choice.d.ts +5 -0
- package/dist/components/organisms/survey/question/edit/edit-multiple-choice.js +51 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/__stories__/edit-option-list-story.d.ts +4 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/__stories__/edit-option-list-story.js +5 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.d.ts +5 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js +50 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.d.ts +4 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.js +61 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/index.d.ts +1 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/index.js +32 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.d.ts +7 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.js +82 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/option.d.ts +5 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/option.js +5 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/types.d.ts +4 -0
- package/dist/components/organisms/survey/question/edit/edit-option-list/types.js +1 -0
- package/dist/components/organisms/survey/question/edit/edit-question-list.d.ts +6 -0
- package/dist/components/organisms/survey/question/edit/edit-question-list.js +43 -0
- package/dist/components/organisms/survey/question/edit/edit-question.d.ts +6 -0
- package/dist/components/organisms/survey/question/edit/edit-question.js +51 -0
- package/dist/components/organisms/survey/question/edit/question-input.d.ts +6 -0
- package/dist/components/organisms/survey/question/edit/question-input.js +71 -0
- package/dist/components/organisms/survey/question/take/__stories__/multiple-choice-story.d.ts +2 -0
- package/dist/components/organisms/survey/question/take/__stories__/multiple-choice-story.js +55 -0
- package/dist/components/organisms/survey/question/take/index.d.ts +1 -0
- package/dist/components/organisms/survey/question/take/index.js +34 -0
- package/dist/components/organisms/survey/question/take/multiple-choice.d.ts +7 -0
- package/dist/components/organisms/survey/question/take/multiple-choice.js +46 -0
- package/dist/components/organisms/survey/question/take/option.d.ts +5 -0
- package/dist/components/organisms/survey/question/take/option.js +5 -0
- package/dist/components/organisms/survey/question/take/question-list.d.ts +7 -0
- package/dist/components/organisms/survey/question/take/question-list.js +38 -0
- package/dist/components/organisms/survey/question/take/question-options.d.ts +6 -0
- package/dist/components/organisms/survey/question/take/question-options.js +5 -0
- package/dist/components/organisms/survey/question/take/question.d.ts +2 -0
- package/dist/components/organisms/survey/question/take/question.js +45 -0
- package/dist/components/organisms/survey/question/types.d.ts +23 -0
- package/dist/components/organisms/survey/question/types.js +1 -0
- package/dist/components/organisms/survey/types.d.ts +5 -0
- package/dist/components/organisms/survey/types.js +1 -0
- package/dist/components/organisms/worlds/area-of-effect/area-of-affect-story.js +7 -3
- package/dist/components/organisms/worlds/area-of-effect/area-of-affect.js +19 -15
- package/dist/components/organisms/worlds/island/island-story.js +11 -7
- package/dist/components/organisms/worlds/island/island-util.js +19 -15
- package/dist/components/pages/home/__stories__/home-story.js +7 -3
- package/dist/components/pages/home/headwinds/__story__/headwinds-story.js +12 -7
- package/dist/components/pages/home/headwinds/header/headwinds-header.js +21 -9
- package/dist/components/pages/home/headwinds/headwinds-footer.js +19 -7
- package/dist/components/pages/home/headwinds/headwinds-hero.js +10 -6
- package/dist/components/pages/home/headwinds/headwinds-sidequest.js +68 -39
- package/dist/components/pages/home/headwinds/home.js +12 -7
- package/dist/components/pages/home/headwinds/index.js +12 -7
- package/dist/components/pages/home/home.js +7 -3
- package/dist/components/pages/home/index.js +7 -3
- package/dist/components/pages/profile/headwinds/__stories__/headwinds-profile-story.js +10 -5
- package/dist/components/pages/profile/headwinds/headwinds-profile.js +55 -28
- package/dist/components/pages/profile/headwinds/index.js +10 -5
- package/dist/components/templates/home/__stories__/home-story.js +7 -3
- package/dist/components/templates/home/__tests__/home.test.js +5 -1
- package/dist/components/templates/home/headwinds/__stories__/headwinds-home-hero-story.js +7 -3
- package/dist/components/templates/home/headwinds/__stories__/headwinds-home-story.js +7 -3
- package/dist/components/templates/home/headwinds/headwinds-home-hero.js +9 -5
- package/dist/components/templates/home/headwinds/headwinds-home.js +12 -8
- package/dist/components/templates/home/headwinds/index.js +7 -3
- package/dist/components/templates/home/home.js +15 -11
- package/dist/components/templates/home/index.js +7 -3
- package/dist/form.module-HJBDd7B3.js +6 -0
- package/dist/{formatter-SWP5E3XI-YFhi-hJo.js → formatter-SWP5E3XI-qy5D7_hU.js} +8 -4
- package/dist/gold-leaf-view-qYP-L01J.js +61 -0
- package/dist/headwinds-header.module-1luB2i14.js +148 -0
- package/dist/horizontal-line.module-d9KlXS07.js +6 -0
- package/dist/index.esm-uzH8VEEv.js +899 -0
- package/dist/index.js +141 -130
- package/dist/{key-value-pairs-FdQ8S6dT.js → key-value-pairs-bVxz8QNo.js} +20 -16
- package/dist/listicle.module-xiAQD_B1.js +7 -0
- package/dist/{log-error-boundary-story-OQ1zQeUe.js → log-error-boundary-story-izQKog3m.js} +5 -5
- package/dist/{radio-oC4Vcp3b.js → radio-lzlHnD6G.js} +40 -30
- package/dist/radio.module-z0jcbB3i.js +9 -0
- package/dist/{stage-hCw7HUto.js → stage-jqllsawu.js} +17 -13
- package/dist/{WithTooltip-V3YHNWJZ-z-PkskLX.js → syntaxhighlighter-V7JZZA35-p-2yWKOb.js} +9 -5
- package/dist/tile-grid-GAoajjQV.js +1296 -0
- package/dist/xstate-react.esm-iu4BYu11.js +309 -0
- package/dist/xstate.esm-FvGqHI2D.js +1968 -0
- package/package.json +7 -5
- package/dist/GithubLogo.esm-A9bjYjkt.js +0 -251
- package/dist/TwitterLogo.esm-xd9JeQeN.js +0 -325
- package/dist/card-9v1cyJcB.js +0 -17
- package/dist/form-nKA0M1D7.js +0 -9
- package/dist/gold-leaf-view-jckhc-Ln.js +0 -57
- package/dist/headwinds-header.module-aNlVXNpf.js +0 -140
- package/dist/tile-grid-KOPq3CHi.js +0 -4699
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# cross-country
|
|
2
2
|
|
|
3
|
-
> an atomic react design system for personal metrics
|
|
3
|
+
> an atomic react design system for personal metrics and creating courses
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/cross-country) [](https://standardjs.com)
|
|
6
6
|
|
|
7
7
|
Core Tech
|
|
8
8
|
|
|
9
|
-
- React (18.02) & react-
|
|
10
|
-
- CSS modules
|
|
9
|
+
- React (18.02), react-spring & react-hook-form
|
|
10
|
+
- CSS modules & Tailwind CSS compatible
|
|
11
11
|
- D3
|
|
12
12
|
- Storybook 7
|
|
13
13
|
- Typescript 5
|
|
@@ -15,9 +15,21 @@ Core Tech
|
|
|
15
15
|
|
|
16
16
|
Do you pour over your personal stats from Github, Strava or Spotify? Is your year always in review?! By experimenting with code, you can hone your developer skills while exploring subject matter that interests you.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
[storybook](https://cross-country-storybook.vercel.app/)
|
|
19
19
|
|
|
20
|
-
###
|
|
20
|
+
### Install
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
npm install cross-country
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Use
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
import { Column, Row, Paragraph, Table, Chart } from "cross-country"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### NextJS Support
|
|
21
33
|
|
|
22
34
|
For this third-party library to work within NextJS, you need to make one change when you consume cross-country to import it's single css bundle.
|
|
23
35
|
|
|
@@ -33,9 +45,13 @@ function MyApp({ Component, pageProps }) {
|
|
|
33
45
|
export default MyApp;
|
|
34
46
|
```
|
|
35
47
|
|
|
48
|
+
### Tailwind CSS Support
|
|
49
|
+
|
|
50
|
+
Each component provides a `customClass` propertity where you can supply your own tailwind css classes.
|
|
51
|
+
|
|
36
52
|
After upgrading to Vite, this library did not with NextJS due to the way it imports its CSS. I [explored different approaches](https://dev.to/headwinds/comment/2bel0) and landed on [rollup-plugin-css-only](https://www.npmjs.com/package/rollup-plugin-css-only) which has minimal configuration.
|
|
37
53
|
|
|
38
|
-
###
|
|
54
|
+
### Example Page
|
|
39
55
|
|
|
40
56
|
By wrapping html, each component is augmented for building accessible experiences across screens. A simple page may look like this:
|
|
41
57
|
|
|
@@ -88,7 +104,7 @@ When you ready, remember to expose the component in the index.ts file at the roo
|
|
|
88
104
|
|
|
89
105
|
## SCSS to CSS modules
|
|
90
106
|
|
|
91
|
-
Originally, I started with SCSS Module but "downgraded" to CSS to upgrade Node from 12 to 18
|
|
107
|
+
Originally, I started with SCSS Module but "downgraded" to CSS to upgrade Node from 12 to 18. I'm currently experimenting PostCSS variables and Tailwind, and have found that both are supported via the existing `customClass` prop.
|
|
92
108
|
|
|
93
109
|
[n 14.20.1](https://www.npmjs.com/package/n)
|
|
94
110
|
|
|
@@ -96,7 +112,7 @@ Originally, I started with SCSS Module but "downgraded" to CSS to upgrade Node f
|
|
|
96
112
|
|
|
97
113
|
[Storybook support for Webpack 5](https://github.com/storybookjs/storybook/issues/19692)
|
|
98
114
|
|
|
99
|
-
##
|
|
115
|
+
## Server Side Rendering
|
|
100
116
|
|
|
101
117
|
Part of my dogfooding process is to use my library on my own site, [headwinds](https://headwinds.vercel.app).
|
|
102
118
|
|
|
@@ -138,6 +154,15 @@ yarn start
|
|
|
138
154
|
|
|
139
155
|
Open your browser to http://localhost:6006/
|
|
140
156
|
|
|
157
|
+
## Build the Static Site
|
|
158
|
+
|
|
159
|
+
After running `npm run build-storybook`, I had to make one change to the iframe.html file in the storybook-static folder.
|
|
160
|
+
|
|
161
|
+
The bundle.css isn't added so I had to add it manually.
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
<link rel="stylesheet" href="./bundle.css" />
|
|
165
|
+
```
|
|
141
166
|
|
|
142
167
|
## Publish to NPM
|
|
143
168
|
|
|
@@ -169,6 +194,7 @@ Since I had .npmrc setup in other projects, I had to one for this project [using
|
|
|
169
194
|
- [nextra](https://nextra.vercel.app/)
|
|
170
195
|
- [XState & React](https://xstate.js.org/docs/packages/xstate-react/#quick-start)
|
|
171
196
|
- [Typescript & SCSS](https://lwebapp.com/en/post/cannot-find-module-scss)
|
|
197
|
+
- [usehooks](https://usehooks.com/)
|
|
172
198
|
|
|
173
199
|
## Fullstack
|
|
174
200
|
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import h, { useRef as E, useMemo as ee, useEffect as S, useState as
|
|
1
|
+
import h, { useRef as E, useMemo as ee, useEffect as S, useState as z, useCallback as H, useLayoutEffect as Ne } from "react";
|
|
2
2
|
import { g as ge } from "./index-IZePk-zH.js";
|
|
3
|
-
import { d as Ie, i as Se, e as Te, f as te, n as M, g as me, T as je, F as Fe, I as
|
|
3
|
+
import { d as Ie, i as Se, e as Te, f as te, n as M, g as me, T as je, F as Fe, I as ze } from "./log-error-boundary-story-izQKog3m.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "./components/molecules/log-error-boundary/log-error-boundary.js";
|
|
6
6
|
import "./components/atoms/column/column.js";
|
|
7
7
|
import "./clsx.m-7d8NmkQq.js";
|
|
8
|
+
import "./radio.module-z0jcbB3i.js";
|
|
8
9
|
import "./pill-button.module-b20EAdXt.js";
|
|
9
10
|
import "./components/atoms/row/row.js";
|
|
10
11
|
import "./cross-country-image.module-jdnP4cDs.js";
|
|
12
|
+
import "./horizontal-line.module-d9KlXS07.js";
|
|
13
|
+
import "./form.module-HJBDd7B3.js";
|
|
11
14
|
import "./text-input.module-gGfc9UkE.js";
|
|
12
15
|
import "./text-area.module-i7BpLN8B.js";
|
|
13
16
|
import "./span.module-LlG4jp2r.js";
|
|
14
17
|
import "./label.module-x8pgvLEC.js";
|
|
15
18
|
import "./components/molecules/wrapper/wrapper.js";
|
|
16
|
-
import "./headwinds-header.module-
|
|
19
|
+
import "./headwinds-header.module-1luB2i14.js";
|
|
20
|
+
import "./card.module-Xa2b1kmC.js";
|
|
17
21
|
import "./loading.module-9nzhvDD8.js";
|
|
18
22
|
import "./error.module-ZjH1vsd8.js";
|
|
19
23
|
import "./transform-4HoD0Utl.js";
|
|
20
24
|
import "./models/ActorModel.js";
|
|
21
25
|
import "./immutable.es-30KbP9Qe.js";
|
|
22
|
-
var
|
|
26
|
+
var Re = (e) => `control-${e.replace(/\s+/g, "-")}`, He = Ie, Le = Se, Pe = "[object Symbol]";
|
|
23
27
|
function qe(e) {
|
|
24
28
|
return typeof e == "symbol" || Le(e) && He(e) == Pe;
|
|
25
29
|
}
|
|
@@ -50,12 +54,12 @@ function A(e) {
|
|
|
50
54
|
}
|
|
51
55
|
var T = function(e, t, n) {
|
|
52
56
|
return t === void 0 && (t = 0), n === void 0 && (n = 1), e > n ? n : e < t ? t : e;
|
|
53
|
-
},
|
|
57
|
+
}, R = function(e) {
|
|
54
58
|
return "touches" in e;
|
|
55
59
|
}, U = function(e) {
|
|
56
60
|
return e && e.ownerDocument.defaultView || self;
|
|
57
61
|
}, ie = function(e, t, n) {
|
|
58
|
-
var r = e.getBoundingClientRect(), o =
|
|
62
|
+
var r = e.getBoundingClientRect(), o = R(t) ? function(a, i) {
|
|
59
63
|
for (var l = 0; l < a.length; l++)
|
|
60
64
|
if (a[l].identifier === i)
|
|
61
65
|
return a[l];
|
|
@@ -63,11 +67,11 @@ var T = function(e, t, n) {
|
|
|
63
67
|
}(t.touches, n) : t;
|
|
64
68
|
return { left: T((o.pageX - (r.left + U(e).pageXOffset)) / r.width), top: T((o.pageY - (r.top + U(e).pageYOffset)) / r.height) };
|
|
65
69
|
}, le = function(e) {
|
|
66
|
-
!
|
|
70
|
+
!R(e) && e.preventDefault();
|
|
67
71
|
}, re = h.memo(function(e) {
|
|
68
72
|
var t = e.onMove, n = e.onKey, r = ne(e, ["onMove", "onKey"]), o = E(null), a = A(t), i = A(n), l = E(null), s = E(!1), c = ee(function() {
|
|
69
73
|
var w = function(p) {
|
|
70
|
-
le(p), (
|
|
74
|
+
le(p), (R(p) ? p.touches.length > 0 : p.buttons > 0) && o.current ? a(ie(o.current, p, l.current)) : k(!1);
|
|
71
75
|
}, O = function() {
|
|
72
76
|
return k(!1);
|
|
73
77
|
};
|
|
@@ -78,9 +82,9 @@ var T = function(e, t, n) {
|
|
|
78
82
|
return [function(p) {
|
|
79
83
|
var m = p.nativeEvent, y = o.current;
|
|
80
84
|
if (y && (le(m), !function(K, j) {
|
|
81
|
-
return j && !
|
|
85
|
+
return j && !R(K);
|
|
82
86
|
}(m, s.current) && y)) {
|
|
83
|
-
if (
|
|
87
|
+
if (R(m)) {
|
|
84
88
|
s.current = !0;
|
|
85
89
|
var C = m.changedTouches || [];
|
|
86
90
|
C.length && (l.current = C[0].identifier);
|
|
@@ -169,7 +173,7 @@ var T = function(e, t, n) {
|
|
|
169
173
|
return e.toLowerCase() === t.toLowerCase() || we(Y(e), Y(t));
|
|
170
174
|
};
|
|
171
175
|
function _e(e, t, n) {
|
|
172
|
-
var r = A(n), o =
|
|
176
|
+
var r = A(n), o = z(function() {
|
|
173
177
|
return e.toHsva(t);
|
|
174
178
|
}), a = o[0], i = o[1], l = E({ color: t, hsva: a });
|
|
175
179
|
S(function() {
|
|
@@ -806,7 +810,7 @@ function $t(e) {
|
|
|
806
810
|
return e && e.slice(0, Mt(e) + 1).replace(Ct, "");
|
|
807
811
|
}
|
|
808
812
|
var Ot = $t, Nt = Ot, ce = te, It = Be, ue = NaN, St = /^[-+]0x[0-9a-f]+$/i, Tt = /^0b[01]+$/i, jt = /^0o[0-7]+$/i, Ft = parseInt;
|
|
809
|
-
function
|
|
813
|
+
function zt(e) {
|
|
810
814
|
if (typeof e == "number")
|
|
811
815
|
return e;
|
|
812
816
|
if (It(e))
|
|
@@ -821,7 +825,7 @@ function Rt(e) {
|
|
|
821
825
|
var n = Tt.test(e);
|
|
822
826
|
return n || jt.test(e) ? Ft(e.slice(2), n ? 2 : 8) : St.test(e) ? ue : +e;
|
|
823
827
|
}
|
|
824
|
-
var
|
|
828
|
+
var Rt = zt, Ht = te, V = wt, fe = Rt, Lt = "Expected a function", Pt = Math.max, qt = Math.min;
|
|
825
829
|
function Bt(e, t, n) {
|
|
826
830
|
var r, o, a, i, l, s, c = 0, d = !1, f = !1, g = !0;
|
|
827
831
|
if (typeof e != "function")
|
|
@@ -885,7 +889,7 @@ const At = /* @__PURE__ */ ge(Vt);
|
|
|
885
889
|
var Ut = M.div({ position: "relative", maxWidth: 250 }), Yt = M(me)({ position: "absolute", zIndex: 1, top: 4, left: 4 }), Jt = M.div({ width: 200, margin: 5, ".react-colorful__saturation": { borderRadius: "4px 4px 0 0" }, ".react-colorful__hue": { boxShadow: "inset 0 0 0 1px rgb(0 0 0 / 5%)" }, ".react-colorful__last-control": { borderRadius: "0 0 4px 4px" } }), Qt = M(je)(({ theme: e }) => ({ fontFamily: e.typography.fonts.base })), Zt = M.div({ display: "grid", gridTemplateColumns: "repeat(9, 16px)", gap: 6, padding: 3, marginTop: 5, width: 200 }), en = M.div(({ theme: e, active: t }) => ({ width: 16, height: 16, boxShadow: t ? `${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px` : `${e.appBorderColor} 0 0 0 1px inset`, borderRadius: e.appBorderRadius })), tn = `url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')`, he = ({ value: e, active: t, onClick: n, style: r, ...o }) => {
|
|
886
890
|
let a = `linear-gradient(${e}, ${e}), ${tn}, linear-gradient(#fff, #fff)`;
|
|
887
891
|
return h.createElement(en, { ...o, active: t, onClick: n, style: { ...r, backgroundImage: a } });
|
|
888
|
-
}, nn = M(Fe.Input)(({ theme: e }) => ({ width: "100%", paddingLeft: 30, paddingRight: 30, boxSizing: "border-box", fontFamily: e.typography.fonts.base })), rn = M(
|
|
892
|
+
}, nn = M(Fe.Input)(({ theme: e }) => ({ width: "100%", paddingLeft: 30, paddingRight: 30, boxSizing: "border-box", fontFamily: e.typography.fonts.base })), rn = M(ze)(({ theme: e }) => ({ position: "absolute", zIndex: 1, top: 6, right: 7, width: 20, height: 20, padding: 4, boxSizing: "border-box", cursor: "pointer", color: e.input.color })), Oe = ((e) => (e.RGB = "rgb", e.HSL = "hsl", e.HEX = "hex", e))(Oe || {}), B = Object.values(Oe), on = /\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/, an = /^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i, ln = /^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i, Z = /^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i, sn = /^\s*#?([0-9a-f]{3})\s*$/i, cn = { hex: tt, rgb: it, hsl: ot }, W = { hex: "transparent", rgb: "rgba(0, 0, 0, 0)", hsl: "hsla(0, 0%, 0%, 0)" }, de = (e) => {
|
|
889
893
|
let t = e == null ? void 0 : e.match(on);
|
|
890
894
|
if (!t)
|
|
891
895
|
return [0, 0, 0, 1];
|
|
@@ -930,7 +934,7 @@ var Ut = M.div({ position: "relative", maxWidth: 250 }), Yt = M(me)({ position:
|
|
|
930
934
|
let [o, a, i] = r[1].split("");
|
|
931
935
|
return `#${o}${o}${a}${a}${i}${i}`;
|
|
932
936
|
}, fn = (e, t) => {
|
|
933
|
-
let [n, r] =
|
|
937
|
+
let [n, r] = z(e || ""), [o, a] = z(() => I(n)), [i, l] = z((o == null ? void 0 : o.colorSpace) || "hex");
|
|
934
938
|
S(() => {
|
|
935
939
|
let f = e || "", g = I(f);
|
|
936
940
|
r(f), a(g), l((g == null ? void 0 : g.colorSpace) || "hex");
|
|
@@ -946,7 +950,7 @@ var Ut = M.div({ position: "relative", maxWidth: 250 }), Yt = M(me)({ position:
|
|
|
946
950
|
}, [o, i, t]);
|
|
947
951
|
return { value: n, realValue: s, updateValue: c, color: o, colorSpace: i, cycleColorSpace: d };
|
|
948
952
|
}, G = (e) => e.replace(/\s*/, "").toLowerCase(), hn = (e, t, n) => {
|
|
949
|
-
let [r, o] =
|
|
953
|
+
let [r, o] = z(t != null && t.valid ? [t] : []);
|
|
950
954
|
S(() => {
|
|
951
955
|
t === void 0 && o([]);
|
|
952
956
|
}, [t]);
|
|
@@ -956,9 +960,9 @@ var Ut = M.div({ position: "relative", maxWidth: 250 }), Yt = M(me)({ position:
|
|
|
956
960
|
return { presets: a, addPreset: i };
|
|
957
961
|
}, dn = ({ name: e, value: t, onChange: n, onFocus: r, onBlur: o, presetColors: a, startOpen: i = !1 }) => {
|
|
958
962
|
let l = H(At(n, 200), [n]), { value: s, realValue: c, updateValue: d, color: f, colorSpace: g, cycleColorSpace: w } = fn(t, l), { presets: O, addPreset: k } = hn(a, f, g), p = cn[g];
|
|
959
|
-
return h.createElement(Ut, null, h.createElement(Yt, { startOpen: i, closeOnOutsideClick: !0, onVisibleChange: () => k(f), tooltip: h.createElement(Jt, null, h.createElement(p, { color: c === "transparent" ? "#000000" : c, onChange: d, onFocus: r, onBlur: o }), O.length > 0 && h.createElement(Zt, null, O.map((m, y) => h.createElement(me, { key: `${m.value}-${y}`, hasChrome: !1, tooltip: h.createElement(Qt, { note: m.keyword || m.value }) }, h.createElement(he, { value: m[g], active: f && G(m[g]) === G(f[g]), onClick: () => d(m.value) }))))) }, h.createElement(he, { value: c, style: { margin: 4 } })), h.createElement(nn, { id:
|
|
960
|
-
},
|
|
963
|
+
return h.createElement(Ut, null, h.createElement(Yt, { startOpen: i, closeOnOutsideClick: !0, onVisibleChange: () => k(f), tooltip: h.createElement(Jt, null, h.createElement(p, { color: c === "transparent" ? "#000000" : c, onChange: d, onFocus: r, onBlur: o }), O.length > 0 && h.createElement(Zt, null, O.map((m, y) => h.createElement(me, { key: `${m.value}-${y}`, hasChrome: !1, tooltip: h.createElement(Qt, { note: m.keyword || m.value }) }, h.createElement(he, { value: m[g], active: f && G(m[g]) === G(f[g]), onClick: () => d(m.value) }))))) }, h.createElement(he, { value: c, style: { margin: 4 } })), h.createElement(nn, { id: Re(e), value: s, onChange: (m) => d(m.target.value), onFocus: (m) => m.target.select(), placeholder: "Choose color..." }), s ? h.createElement(rn, { icon: "markup", onClick: w }) : null);
|
|
964
|
+
}, Pn = dn;
|
|
961
965
|
export {
|
|
962
966
|
dn as ColorControl,
|
|
963
|
-
|
|
967
|
+
Pn as default
|
|
964
968
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import a, { forwardRef as l } from "react";
|
|
2
|
+
import { P as n } from "./IconBase-WptwR6ai.js";
|
|
3
|
+
const m = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ a.createElement("path", { d: "M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z" }))
|
|
33
|
+
]
|
|
34
|
+
]);
|
|
35
|
+
var c = Object.defineProperty, p = Object.defineProperties, H = Object.getOwnPropertyDescriptors, A = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable, v = (t, e, r) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, i = (t, e) => {
|
|
36
|
+
for (var r in e || (e = {}))
|
|
37
|
+
o.call(e, r) && v(t, r, e[r]);
|
|
38
|
+
if (A)
|
|
39
|
+
for (var r of A(e))
|
|
40
|
+
h.call(e, r) && v(t, r, e[r]);
|
|
41
|
+
return t;
|
|
42
|
+
}, f = (t, e) => p(t, H(e));
|
|
43
|
+
const u = l((t, e) => /* @__PURE__ */ a.createElement(n, f(i({ ref: e }, t), { weights: m })));
|
|
44
|
+
u.displayName = "GithubLogo";
|
|
45
|
+
export {
|
|
46
|
+
u as l
|
|
47
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import f, { createContext as C, forwardRef as j, useContext as E } from "react";
|
|
2
|
+
const P = C({
|
|
3
|
+
color: "currentColor",
|
|
4
|
+
size: "1em",
|
|
5
|
+
weight: "regular",
|
|
6
|
+
mirrored: !1
|
|
7
|
+
});
|
|
8
|
+
var B = Object.defineProperty, i = Object.getOwnPropertySymbols, w = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable, u = (e, l, r) => l in e ? B(e, l, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[l] = r, g = (e, l) => {
|
|
9
|
+
for (var r in l || (l = {}))
|
|
10
|
+
w.call(l, r) && u(e, r, l[r]);
|
|
11
|
+
if (i)
|
|
12
|
+
for (var r of i(l))
|
|
13
|
+
d.call(l, r) && u(e, r, l[r]);
|
|
14
|
+
return e;
|
|
15
|
+
}, m = (e, l) => {
|
|
16
|
+
var r = {};
|
|
17
|
+
for (var o in e)
|
|
18
|
+
w.call(e, o) && l.indexOf(o) < 0 && (r[o] = e[o]);
|
|
19
|
+
if (e != null && i)
|
|
20
|
+
for (var o of i(e))
|
|
21
|
+
l.indexOf(o) < 0 && d.call(e, o) && (r[o] = e[o]);
|
|
22
|
+
return r;
|
|
23
|
+
};
|
|
24
|
+
const I = j((e, l) => {
|
|
25
|
+
const r = e, {
|
|
26
|
+
alt: o,
|
|
27
|
+
color: a,
|
|
28
|
+
size: t,
|
|
29
|
+
weight: n,
|
|
30
|
+
mirrored: v,
|
|
31
|
+
children: h,
|
|
32
|
+
weights: p
|
|
33
|
+
} = r, b = m(r, [
|
|
34
|
+
"alt",
|
|
35
|
+
"color",
|
|
36
|
+
"size",
|
|
37
|
+
"weight",
|
|
38
|
+
"mirrored",
|
|
39
|
+
"children",
|
|
40
|
+
"weights"
|
|
41
|
+
]), c = E(P), {
|
|
42
|
+
color: x = "currentColor",
|
|
43
|
+
size: s,
|
|
44
|
+
weight: y = "regular",
|
|
45
|
+
mirrored: O = !1
|
|
46
|
+
} = c, z = m(c, [
|
|
47
|
+
"color",
|
|
48
|
+
"size",
|
|
49
|
+
"weight",
|
|
50
|
+
"mirrored"
|
|
51
|
+
]);
|
|
52
|
+
return /* @__PURE__ */ f.createElement(
|
|
53
|
+
"svg",
|
|
54
|
+
g(g({
|
|
55
|
+
ref: l,
|
|
56
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
57
|
+
width: t ?? s,
|
|
58
|
+
height: t ?? s,
|
|
59
|
+
fill: a ?? x,
|
|
60
|
+
viewBox: "0 0 256 256",
|
|
61
|
+
transform: v || O ? "scale(-1, 1)" : void 0
|
|
62
|
+
}, z), b),
|
|
63
|
+
!!o && /* @__PURE__ */ f.createElement("title", null, o),
|
|
64
|
+
h,
|
|
65
|
+
p.get(n ?? y)
|
|
66
|
+
);
|
|
67
|
+
});
|
|
68
|
+
I.displayName = "IconBase";
|
|
69
|
+
export {
|
|
70
|
+
I as P
|
|
71
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import a, { forwardRef as m } from "react";
|
|
2
|
+
import { P as H } from "./IconBase-WptwR6ai.js";
|
|
3
|
+
const V = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28Zm-4,176H52V52H204ZM76,128a12,12,0,0,1,12-12h28V88a12,12,0,0,1,24,0v28h28a12,12,0,0,1,0,24H140v28a12,12,0,0,1-24,0V140H88A12,12,0,0,1,76,128Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Zm-32-80a8,8,0,0,1-8,8H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32A8,8,0,0,1,176,128Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM168,136H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32a8,8,0,0,1,0,16Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34Zm2,174a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Zm-36-80a6,6,0,0,1-6,6H134v34a6,6,0,0,1-12,0V134H88a6,6,0,0,1,0-12h34V88a6,6,0,0,1,12,0v34h34A6,6,0,0,1,174,128Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Zm-32-80a8,8,0,0,1-8,8H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32A8,8,0,0,1,176,128Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36Zm4,172a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-40-80a4,4,0,0,1-4,4H132v36a4,4,0,0,1-8,0V132H88a4,4,0,0,1,0-8h36V88a4,4,0,0,1,8,0v36h36A4,4,0,0,1,172,128Z" }))
|
|
33
|
+
]
|
|
34
|
+
]);
|
|
35
|
+
var c = Object.defineProperty, o = Object.defineProperties, p = Object.getOwnPropertyDescriptors, l = Object.getOwnPropertySymbols, h = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable, n = (t, e, r) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, i = (t, e) => {
|
|
36
|
+
for (var r in e || (e = {}))
|
|
37
|
+
h.call(e, r) && n(t, r, e[r]);
|
|
38
|
+
if (l)
|
|
39
|
+
for (var r of l(e))
|
|
40
|
+
v.call(e, r) && n(t, r, e[r]);
|
|
41
|
+
return t;
|
|
42
|
+
}, A = (t, e) => o(t, p(e));
|
|
43
|
+
const Z = m((t, e) => /* @__PURE__ */ a.createElement(H, A(i({ ref: e }, t), { weights: V })));
|
|
44
|
+
Z.displayName = "PlusSquare";
|
|
45
|
+
export {
|
|
46
|
+
Z as w
|
|
47
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import a, { forwardRef as A } from "react";
|
|
2
|
+
import { P as p } from "./IconBase-WptwR6ai.js";
|
|
3
|
+
const V = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,20H40A20,20,0,0,0,20,40V216a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V40A20,20,0,0,0,216,20Zm-4,192H44V44H212ZM112,176V124a12,12,0,0,1,21.43-7.41A40,40,0,0,1,192,152v24a12,12,0,0,1-24,0V152a16,16,0,0,0-32,0v24a12,12,0,0,1-24,0ZM96,124v52a12,12,0,0,1-24,0V124a12,12,0,0,1,24,0ZM68,80A16,16,0,1,1,84,96,16,16,0,0,1,68,80Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M224,40V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H216A8,8,0,0,1,224,40Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ a.createElement("path", { d: "M216,24H40A16,16,0,0,0,24,40V216a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V40A16,16,0,0,0,216,24Zm0,192H40V40H216V216ZM96,112v64a8,8,0,0,1-16,0V112a8,8,0,0,1,16,0Zm88,28v36a8,8,0,0,1-16,0V140a20,20,0,0,0-40,0v36a8,8,0,0,1-16,0V112a8,8,0,0,1,15.79-1.78A36,36,0,0,1,184,140ZM100,84A12,12,0,1,1,88,72,12,12,0,0,1,100,84Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,24H40A16,16,0,0,0,24,40V216a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V40A16,16,0,0,0,216,24ZM96,176a8,8,0,0,1-16,0V112a8,8,0,0,1,16,0ZM88,96a12,12,0,1,1,12-12A12,12,0,0,1,88,96Zm96,80a8,8,0,0,1-16,0V140a20,20,0,0,0-40,0v36a8,8,0,0,1-16,0V112a8,8,0,0,1,15.79-1.78A36,36,0,0,1,184,140Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,26H40A14,14,0,0,0,26,40V216a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V40A14,14,0,0,0,216,26Zm2,190a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2ZM94,112v64a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm88,28v36a6,6,0,0,1-12,0V140a22,22,0,0,0-44,0v36a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0v2.11A34,34,0,0,1,182,140ZM98,84A10,10,0,1,1,88,74,10,10,0,0,1,98,84Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,24H40A16,16,0,0,0,24,40V216a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V40A16,16,0,0,0,216,24Zm0,192H40V40H216V216ZM96,112v64a8,8,0,0,1-16,0V112a8,8,0,0,1,16,0Zm88,28v36a8,8,0,0,1-16,0V140a20,20,0,0,0-40,0v36a8,8,0,0,1-16,0V112a8,8,0,0,1,15.79-1.78A36,36,0,0,1,184,140ZM100,84A12,12,0,1,1,88,72,12,12,0,0,1,100,84Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,28H40A12,12,0,0,0,28,40V216a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28Zm4,188a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4ZM92,112v64a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm88,28v36a4,4,0,0,1-8,0V140a24,24,0,0,0-48,0v36a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0v6.87A32,32,0,0,1,180,140ZM96,84a8,8,0,1,1-8-8A8,8,0,0,1,96,84Z" }))
|
|
33
|
+
]
|
|
34
|
+
]), Z = /* @__PURE__ */ new Map([
|
|
35
|
+
[
|
|
36
|
+
"bold",
|
|
37
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M251.09,67.41A12,12,0,0,0,240,60H211.82a52.73,52.73,0,0,0-43.67-24,50.85,50.85,0,0,0-36.6,14.85A51.87,51.87,0,0,0,116,88v.78c-36.83-11.57-66.38-40.9-66.7-41.23a12,12,0,0,0-20.47,7.38C22.52,125.1,53.48,162.72,70.89,178.05,56.4,192.83,36,200.68,35.8,200.76A12,12,0,0,0,30,218.66C32,221.55,43.44,236,80,236c72.25,0,132.7-55.26,139.6-126.63l28.88-28.88A12,12,0,0,0,251.09,67.41ZM199.52,95.52a11.93,11.93,0,0,0-3.49,7.72C192.14,164.23,141.18,212,80,212a90.78,90.78,0,0,1-12.49-.79C78,204.55,89.72,195.07,98,182.66a12,12,0,0,0-3.9-17c-.12-.07-12.33-7.49-23.43-24.42s-17.26-37-18.46-59.78C69.37,94.4,96,110.79,126,115.84A12,12,0,0,0,140,104V88a28,28,0,0,1,8.41-20.07A27.07,27.07,0,0,1,167.86,60a28.83,28.83,0,0,1,25.82,16.81,12,12,0,0,0,11,7.19H211Z" }))
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
"duotone",
|
|
41
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
42
|
+
"path",
|
|
43
|
+
{
|
|
44
|
+
d: "M240,72l-32,32c-4.26,66.84-60.08,120-128,120-32,0-40-12-40-12s32-12,48-36c0,0-55.15-32-47.22-120,0,0,39.66,40,87.22,48V88c0-22,18-40.27,40-40a40.74,40.74,0,0,1,36.67,24Z",
|
|
45
|
+
opacity: "0.2"
|
|
46
|
+
}
|
|
47
|
+
), /* @__PURE__ */ a.createElement("path", { d: "M247.39,68.94A8,8,0,0,0,240,64H209.57A48.65,48.65,0,0,0,168.1,40a46.87,46.87,0,0,0-33.74,13.7A47.87,47.87,0,0,0,120,88v6.09C79.74,83.47,46.81,50.72,46.46,50.37a8,8,0,0,0-13.65,4.92c-4.3,47.79,9.57,79.77,22,98.18a110.92,110.92,0,0,0,21.89,24.2C61.43,195.2,37.45,204.41,37.2,204.51a8,8,0,0,0-3.85,11.93c.74,1.12,3.75,5.05,11.08,8.72C53.51,229.7,65.48,232,80,232c70.68,0,129.72-54.42,135.76-124.44l29.9-29.9A8,8,0,0,0,247.39,68.94Zm-45,29.41a8,8,0,0,0-2.32,5.14C196,166.58,143.28,216,80,216c-10.56,0-18-1.4-23.22-3.08,11.52-6.25,27.56-17,37.88-32.48a8,8,0,0,0-2.61-11.34c-.13-.08-12.86-7.74-24.48-25.29C54.54,124.11,48,100.38,48,73.09c16,13,45.25,33.18,78.69,38.8A8,8,0,0,0,136,104V88a32,32,0,0,1,9.6-22.92A30.89,30.89,0,0,1,167.9,56c12.66.16,24.49,7.88,29.44,19.21A8,8,0,0,0,204.67,80h16Z" }))
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"fill",
|
|
51
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M245.66,77.66l-29.9,29.9C209.72,177.58,150.67,232,80,232c-14.52,0-26.49-2.3-35.58-6.84-7.33-3.67-10.33-7.6-11.08-8.72a8,8,0,0,1,3.85-11.93c.26-.1,24.24-9.31,39.47-26.84a110.93,110.93,0,0,1-21.88-24.2c-12.4-18.41-26.28-50.39-22-98.18a8,8,0,0,1,13.65-4.92c.35.35,33.28,33.1,73.54,43.72V88a47.87,47.87,0,0,1,14.36-34.3A46.87,46.87,0,0,1,168.1,40a48.66,48.66,0,0,1,41.47,24H240a8,8,0,0,1,5.66,13.66Z" }))
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
"light",
|
|
55
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M245.54,69.71A6,6,0,0,0,240,66H208.4a46.6,46.6,0,0,0-40.33-24,44.93,44.93,0,0,0-32.31,13.12A45.92,45.92,0,0,0,122,88v8.66c-42-10-76.6-44.52-77-44.88A6,6,0,0,0,34.8,55.46c-4.25,47.22,9.42,78.75,21.64,96.89a107.71,107.71,0,0,0,23.07,25c-15.49,19-41.34,28.89-41.62,29a6,6,0,0,0-2.88,9C36,216.83,45.78,230,80,230c69.88,0,128.23-54,133.82-123.34l30.42-30.41A6,6,0,0,0,245.54,69.71ZM203.76,99.76a6,6,0,0,0-1.75,3.86C197.93,167.76,144.33,218,80,218c-14,0-22.76-2.41-28.06-4.8,11.3-5.68,29.72-16.88,41.05-33.87a6,6,0,0,0,.85-4.67A6,6,0,0,0,91,170.82c-.13-.08-13.13-7.86-25-25.72C52,124,45.31,98.43,46,68.88c14.88,12.6,45.57,35.09,81,41a6,6,0,0,0,7-5.92V88a34,34,0,0,1,10.19-24.34A33.05,33.05,0,0,1,167.93,54c13.43.17,26,8.37,31.24,20.4a6,6,0,0,0,5.5,3.6h20.84Z" }))
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
"regular",
|
|
59
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M247.39,68.94A8,8,0,0,0,240,64H209.57A48.66,48.66,0,0,0,168.1,40a46.91,46.91,0,0,0-33.75,13.7A47.9,47.9,0,0,0,120,88v6.09C79.74,83.47,46.81,50.72,46.46,50.37a8,8,0,0,0-13.65,4.92c-4.31,47.79,9.57,79.77,22,98.18a110.93,110.93,0,0,0,21.88,24.2c-15.23,17.53-39.21,26.74-39.47,26.84a8,8,0,0,0-3.85,11.93c.75,1.12,3.75,5.05,11.08,8.72C53.51,229.7,65.48,232,80,232c70.67,0,129.72-54.42,135.75-124.44l29.91-29.9A8,8,0,0,0,247.39,68.94Zm-45,29.41a8,8,0,0,0-2.32,5.14C196,166.58,143.28,216,80,216c-10.56,0-18-1.4-23.22-3.08,11.51-6.25,27.56-17,37.88-32.48A8,8,0,0,0,92,169.08c-.47-.27-43.91-26.34-44-96,16,13,45.25,33.17,78.67,38.79A8,8,0,0,0,136,104V88a32,32,0,0,1,9.6-22.92A30.94,30.94,0,0,1,167.9,56c12.66.16,24.49,7.88,29.44,19.21A8,8,0,0,0,204.67,80h16Z" }))
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
"thin",
|
|
63
|
+
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M243.7,70.47A4,4,0,0,0,240,68H207.2a44.57,44.57,0,0,0-39.15-24,42.76,42.76,0,0,0-30.88,12.55A43.85,43.85,0,0,0,124,88V99.16c-43.65-9.39-80-45.6-80.39-46a4,4,0,0,0-4.19-.95,4,4,0,0,0-2.63,3.41c-4.2,46.62,9.27,77.71,21.31,95.59A103.68,103.68,0,0,0,82.35,177c-15.68,20.49-43.46,31.13-43.75,31.24a4,4,0,0,0-1.93,6c.27.4,2.79,4,9.54,7.36C54.73,225.84,66.1,228,80,228c69.09,0,126.73-53.56,131.89-122.23l30.94-30.94A4,4,0,0,0,243.7,70.47Zm-38.53,30.7a4,4,0,0,0-1.16,2.58C199.85,168.94,145.38,220,80,220c-17.85,0-27.63-3.89-32.5-6.87,10.37-4.82,31.45-16.34,43.83-34.91a4,4,0,0,0,.56-3.12A3.93,3.93,0,0,0,90,172.55c-.13-.08-13.39-8-25.52-26.15C54,130.71,42.39,104.11,44.19,64.65c13.17,11.62,45.48,37,83.15,43.3a4,4,0,0,0,4.66-4V88a36,36,0,0,1,10.79-25.76A35,35,0,0,1,168,52c14.2.18,27.49,8.86,33.06,21.61A4,4,0,0,0,204.67,76h25.67Z" }))
|
|
64
|
+
]
|
|
65
|
+
]);
|
|
66
|
+
var o = Object.defineProperty, v = Object.defineProperties, i = Object.getOwnPropertyDescriptors, c = Object.getOwnPropertySymbols, H = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable, l = (t, e, r) => e in t ? o(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, E = (t, e) => {
|
|
67
|
+
for (var r in e || (e = {}))
|
|
68
|
+
H.call(e, r) && l(t, r, e[r]);
|
|
69
|
+
if (c)
|
|
70
|
+
for (var r of c(e))
|
|
71
|
+
M.call(e, r) && l(t, r, e[r]);
|
|
72
|
+
return t;
|
|
73
|
+
}, d = (t, e) => v(t, i(e));
|
|
74
|
+
const u = A((t, e) => /* @__PURE__ */ a.createElement(p, d(E({ ref: e }, t), { weights: V })));
|
|
75
|
+
u.displayName = "LinkedinLogo";
|
|
76
|
+
var g = Object.defineProperty, h = Object.defineProperties, f = Object.getOwnPropertyDescriptors, n = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable, m = (t, e, r) => e in t ? g(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, y = (t, e) => {
|
|
77
|
+
for (var r in e || (e = {}))
|
|
78
|
+
b.call(e, r) && m(t, r, e[r]);
|
|
79
|
+
if (n)
|
|
80
|
+
for (var r of n(e))
|
|
81
|
+
s.call(e, r) && m(t, r, e[r]);
|
|
82
|
+
return t;
|
|
83
|
+
}, C = (t, e) => h(t, f(e));
|
|
84
|
+
const O = A((t, e) => /* @__PURE__ */ a.createElement(p, C(y({ ref: e }, t), { weights: Z })));
|
|
85
|
+
O.displayName = "TwitterLogo";
|
|
86
|
+
export {
|
|
87
|
+
O as I,
|
|
88
|
+
u as l
|
|
89
|
+
};
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as v, W as w, a as y } from "./log-error-boundary-story-izQKog3m.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./index-IZePk-zH.js";
|
|
5
5
|
import "./components/molecules/log-error-boundary/log-error-boundary.js";
|
|
6
6
|
import "./components/atoms/column/column.js";
|
|
7
7
|
import "./clsx.m-7d8NmkQq.js";
|
|
8
|
+
import "./radio.module-z0jcbB3i.js";
|
|
8
9
|
import "./pill-button.module-b20EAdXt.js";
|
|
9
10
|
import "./components/atoms/row/row.js";
|
|
10
11
|
import "./cross-country-image.module-jdnP4cDs.js";
|
|
12
|
+
import "./horizontal-line.module-d9KlXS07.js";
|
|
13
|
+
import "./form.module-HJBDd7B3.js";
|
|
11
14
|
import "./text-input.module-gGfc9UkE.js";
|
|
12
15
|
import "./text-area.module-i7BpLN8B.js";
|
|
13
16
|
import "./span.module-LlG4jp2r.js";
|
|
14
17
|
import "./label.module-x8pgvLEC.js";
|
|
15
18
|
import "./components/molecules/wrapper/wrapper.js";
|
|
16
|
-
import "./headwinds-header.module-
|
|
19
|
+
import "./headwinds-header.module-1luB2i14.js";
|
|
20
|
+
import "./card.module-Xa2b1kmC.js";
|
|
17
21
|
import "./loading.module-9nzhvDD8.js";
|
|
18
22
|
import "./error.module-ZjH1vsd8.js";
|
|
19
23
|
import "./transform-4HoD0Utl.js";
|
|
20
24
|
import "./models/ActorModel.js";
|
|
21
25
|
import "./immutable.es-30KbP9Qe.js";
|
|
22
26
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
v as WithToolTipState,
|
|
28
|
+
w as WithTooltip,
|
|
29
|
+
y as WithTooltipPure
|
|
26
30
|
};
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "./components/atoms/column/column.js";
|
|
4
|
+
import "./radio.module-z0jcbB3i.js";
|
|
4
5
|
import "./pill-button.module-b20EAdXt.js";
|
|
5
6
|
import "./components/atoms/row/row.js";
|
|
6
7
|
import o from "./components/atoms/image/cross-country-image.js";
|
|
8
|
+
import "./horizontal-line.module-d9KlXS07.js";
|
|
9
|
+
import "./form.module-HJBDd7B3.js";
|
|
7
10
|
import "./text-input.module-gGfc9UkE.js";
|
|
8
11
|
import "./text-area.module-i7BpLN8B.js";
|
|
9
12
|
import "./span.module-LlG4jp2r.js";
|
|
10
13
|
import "./label.module-x8pgvLEC.js";
|
|
11
14
|
import "./components/molecules/wrapper/wrapper.js";
|
|
12
|
-
import "./headwinds-header.module-
|
|
15
|
+
import "./headwinds-header.module-1luB2i14.js";
|
|
16
|
+
import "./card.module-Xa2b1kmC.js";
|
|
13
17
|
import "./loading.module-9nzhvDD8.js";
|
|
14
18
|
import "./error.module-ZjH1vsd8.js";
|
|
15
19
|
import "./transform-4HoD0Utl.js";
|
|
16
|
-
const i = "data:image/svg+xml,%3csvg%20width='220'%20height='404'%20viewBox='0%200%20220%20404'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M158%200H44L0%20168H82L24%20404L220%20104H112L158%200Z'%20fill='%23E3D597'/%3e%3c/svg%3e", r = () => /* @__PURE__ */ t(o, { a11y: "lightening bolt", url: i, width: 30, height: 30 }),
|
|
20
|
+
const i = "data:image/svg+xml,%3csvg%20width='220'%20height='404'%20viewBox='0%200%20220%20404'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M158%200H44L0%20168H82L24%20404L220%20104H112L158%200Z'%20fill='%23E3D597'/%3e%3c/svg%3e", r = () => /* @__PURE__ */ t(o, { a11y: "lightening bolt", url: i, width: 30, height: 30 }), u = r;
|
|
17
21
|
export {
|
|
18
|
-
B
|
|
22
|
+
u as B
|
|
19
23
|
};
|
|
@@ -1,46 +1,50 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
2
|
+
import { useRef as C, useState as _, useEffect as g } from "react";
|
|
3
3
|
import y from "./components/atoms/column/column.js";
|
|
4
|
+
import "./radio.module-z0jcbB3i.js";
|
|
4
5
|
import "./pill-button.module-b20EAdXt.js";
|
|
5
6
|
import L from "./components/atoms/row/row.js";
|
|
6
7
|
import "./cross-country-image.module-jdnP4cDs.js";
|
|
8
|
+
import "./horizontal-line.module-d9KlXS07.js";
|
|
9
|
+
import "./form.module-HJBDd7B3.js";
|
|
7
10
|
import "./text-input.module-gGfc9UkE.js";
|
|
8
11
|
import "./text-area.module-i7BpLN8B.js";
|
|
9
12
|
import "./span.module-LlG4jp2r.js";
|
|
10
13
|
import "./label.module-x8pgvLEC.js";
|
|
11
14
|
import { L as x, a as B } from "./list-item-GFGZHtSj.js";
|
|
12
15
|
import "./components/molecules/wrapper/wrapper.js";
|
|
13
|
-
import {
|
|
16
|
+
import { h as n } from "./headwinds-header.module-1luB2i14.js";
|
|
17
|
+
import "./card.module-Xa2b1kmC.js";
|
|
14
18
|
import "./loading.module-9nzhvDD8.js";
|
|
15
19
|
import "./error.module-ZjH1vsd8.js";
|
|
16
20
|
import w from "./components/molecules/gold-leaf/gold-leaf.js";
|
|
17
21
|
import "./transform-4HoD0Utl.js";
|
|
18
|
-
const I = ({ branch:
|
|
19
|
-
const l =
|
|
20
|
-
|
|
22
|
+
const I = ({ branch: i }) => /* @__PURE__ */ r(w, { goldLeafModel: i, mode: "view" }), M = I, S = 375, V = ({ branches: i }) => {
|
|
23
|
+
const l = C(null), [e, u] = _(null);
|
|
24
|
+
g(() => {
|
|
21
25
|
var t;
|
|
22
26
|
if ((t = l == null ? void 0 : l.current) != null && t.offsetWidth && e === null) {
|
|
23
27
|
const o = l.current.offsetWidth, s = Math.floor(o / S), m = s > 0 ? s : 1;
|
|
24
28
|
u(m);
|
|
25
29
|
}
|
|
26
30
|
}, []);
|
|
27
|
-
const a = (t) => t.length === 0 ? null : t.map((o, s) => o && o !== null && o.text ? /* @__PURE__ */ r(B, { className: n.card__item, customStyle: { listStyle: "none" }, children: /* @__PURE__ */ r(M, { branch: o }) }, s) : null),
|
|
28
|
-
const m = s * t,
|
|
31
|
+
const a = (t) => t.length === 0 ? null : t.map((o, s) => o && o !== null && o.text ? /* @__PURE__ */ r(B, { className: n.card__item, customStyle: { listStyle: "none" }, children: /* @__PURE__ */ r(M, { branch: o }) }, s) : null), p = (t, o, s) => {
|
|
32
|
+
const m = s * t, c = t * (s + 1) - 1, f = o.slice(m, c), h = {
|
|
29
33
|
customClass: n.column__item,
|
|
30
34
|
key: `col${s}`
|
|
31
35
|
};
|
|
32
|
-
return /* @__PURE__ */ r(y, { ...h, customClass: n.card__column, children: /* @__PURE__ */ r(x, { customClass: n.card__list, children: a(
|
|
33
|
-
},
|
|
36
|
+
return /* @__PURE__ */ r(y, { ...h, customClass: n.card__column, children: /* @__PURE__ */ r(x, { customClass: n.card__list, children: a(f) }) });
|
|
37
|
+
}, d = (t) => {
|
|
34
38
|
if (t.length === 0)
|
|
35
39
|
return null;
|
|
36
40
|
if (e) {
|
|
37
41
|
const o = Math.floor(t.length / e);
|
|
38
|
-
return [...Array(e).keys()].map((
|
|
42
|
+
return [...Array(e).keys()].map((c) => p(o, t, c));
|
|
39
43
|
}
|
|
40
44
|
};
|
|
41
|
-
return /* @__PURE__ */ r(L, { "data-testid": "branch-list", customClass: n.column__list, ref: l, children:
|
|
45
|
+
return /* @__PURE__ */ r(L, { "data-testid": "branch-list", customClass: n.column__list, ref: l, children: d(i) });
|
|
42
46
|
};
|
|
43
47
|
export {
|
|
44
48
|
M as B,
|
|
45
|
-
|
|
49
|
+
V as a
|
|
46
50
|
};
|