cross-country 1.2.25 → 1.2.26
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 +22 -3
- package/dist/{bolt-BLbYxvOV.js → bolt-CUzvRxsQ.js} +3 -21
- package/dist/bundle.css +61 -32
- package/dist/components/atoms/column/column.js +11 -11
- package/dist/components/atoms/radio/radio.js +7 -8
- package/dist/components/atoms/row/row.js +8 -8
- package/dist/components/atoms/text/headline/headline.js +25 -0
- package/dist/components/atoms/text/headline/index.js +4 -0
- package/dist/components/atoms/text/input/__stories__/perplexity-service.js +7 -7
- package/dist/components/atoms/text/input/state-machine-text-input.js +1 -1
- package/dist/components/atoms/text/input/text-input.js +34 -30
- package/dist/components/atoms/text/paragraph/paragraph.js +18 -6
- package/dist/components/atoms/text/span/__stories__/span-story.js +3 -21
- package/dist/components/atoms/text/text-area/text-area.js +13 -13
- package/dist/components/index.js +101 -100
- package/dist/components/molecules/animated/animated-column/__tests__/animated-column.test.js +22 -0
- package/dist/components/molecules/animated/animated-column/animated-column.js +32 -0
- package/dist/components/molecules/animated/animated-column/index.js +4 -0
- package/dist/components/molecules/card/amazon/amazon-card.js +23 -41
- package/dist/components/molecules/card/builder/card-editor.js +17 -35
- package/dist/components/molecules/card/card.js +3 -21
- package/dist/components/molecules/carousel/carousel.js +19 -28
- package/dist/components/molecules/day-number/day-number.js +7 -25
- package/dist/components/molecules/field/field.js +26 -44
- package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +1 -1
- package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +64 -81
- package/dist/components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js +15 -33
- package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +3 -21
- package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +1 -1
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.js +15 -34
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +4 -22
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +4 -22
- package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
- package/dist/components/molecules/header/header.js +22 -40
- package/dist/components/molecules/hero/hero.js +4 -22
- package/dist/components/molecules/icons/index.js +1 -19
- package/dist/components/molecules/icons/x/x.js +3 -21
- package/dist/components/molecules/index.js +5 -23
- package/dist/components/molecules/key-value-pairs/key-value-pairs.js +16 -34
- package/dist/components/molecules/keywords/keywords.js +7 -25
- package/dist/components/molecules/log-error-boundary/log-error-boundary.js +3 -21
- package/dist/components/molecules/modal/modal.js +15 -33
- package/dist/components/molecules/policies/index.js +1 -19
- package/dist/components/molecules/policies/privacy-policy/index.js +4 -0
- package/dist/components/molecules/policies/{privacy-policy.js → privacy-policy/privacy-policy.js} +31 -49
- package/dist/components/molecules/policies/terms-of-use/index.js +4 -0
- package/dist/components/molecules/policies/{terms-of-use.js → terms-of-use/terms-of-use.js} +21 -39
- package/dist/components/molecules/quote/quote.js +3 -21
- package/dist/components/molecules/radio-group/__stories__/radio-group-form-story.js +65 -0
- package/dist/components/molecules/{radiogroup → radio-group}/__stories__/radio-group-react-hook-form-story.js +17 -35
- package/dist/components/molecules/radio-group/index.js +4 -0
- package/dist/components/molecules/related-articles/related-articles.js +3 -21
- package/dist/components/molecules/search/search.js +3 -21
- package/dist/components/molecules/stagger/stagger.js +46 -57
- package/dist/components/molecules/tile/index.js +1 -1
- package/dist/components/molecules/tile/tile-interactive.js +2 -20
- package/dist/components/molecules/tile/tile.js +1 -1
- package/dist/components/molecules/time-progress/progress-over-year.js +3 -21
- package/dist/components/molecules/time-progress/progress.js +3 -21
- package/dist/components/molecules/user/anon-user.js +21 -39
- package/dist/components/molecules/user/user.js +4 -22
- package/dist/components/molecules/venn-diagram/venn-diagram-circle.js +7 -25
- package/dist/components/molecules/venn-diagram/venn-diagram.js +12 -30
- package/dist/components/molecules/wrapper/__stories__/wrapper-children-story.js +9 -27
- package/dist/components/organisms/actors/actor/actor-builder.js +7 -24
- package/dist/components/organisms/actors/actor/actor.js +83 -23
- package/dist/components/organisms/actors/actor/index.js +2 -2
- package/dist/components/organisms/actors/actor-speech/actor-speech.js +40 -0
- package/dist/components/organisms/actors/actor-speech/index.js +4 -0
- package/dist/components/organisms/actors/animal/animal.js +1 -1
- package/dist/components/organisms/actors/monsters/troll/troll.js +4 -21
- package/dist/components/organisms/actors/party/cleric/cleric.js +9 -9
- package/dist/components/organisms/actors/party/hunter/hunter.js +4 -4
- package/dist/components/organisms/actors/party/warrior/warrior.js +8 -8
- package/dist/components/organisms/actors/party/wizard/wizard.js +1 -1
- package/dist/components/organisms/actors/wisp/wisp.js +5 -5
- package/dist/components/organisms/ads/ad-card.js +11 -29
- package/dist/components/organisms/animation/animate-actor/animate-actor.js +4 -21
- package/dist/components/organisms/animation/one-day/one-day.js +30 -48
- package/dist/components/organisms/animation/reverse-text-animation/reverse-text-animation.js +35 -44
- package/dist/components/organisms/bento/layouts/five-by-four/bento-five-by-four.js +46 -64
- package/dist/components/organisms/bento/layouts/four-by-four/bento-four-by-four.js +29 -47
- package/dist/components/organisms/bento/layouts/three-by-three/bento-three-by-three.js +44 -62
- package/dist/components/organisms/bento/layouts/two-by-two/bento-two-by-two.js +20 -38
- package/dist/components/organisms/blog/__stories__/blog-story.js +15 -33
- package/dist/components/organisms/blog/blog-post/__stories__/blog-post-story.js +7 -25
- package/dist/components/organisms/blog/blog-post/blog-post.js +53 -72
- package/dist/components/organisms/blog/blog-post/blog-post.types.js +2875 -10
- package/dist/components/organisms/blog/blog-post-list.js +3 -21
- package/dist/components/organisms/blog/blog.js +6 -24
- package/dist/components/organisms/branch/branch.js +3 -21
- package/dist/components/organisms/branches/branch-list.js +27 -45
- package/dist/components/organisms/branches/branches.js +3 -21
- package/dist/components/organisms/calendar/calendar.js +26 -44
- package/dist/components/organisms/charts/chart/chart-gold-leaf/chart-gold-leaf.js +1 -19
- package/dist/components/organisms/clusters/cluster.js +3 -21
- package/dist/components/organisms/json-map-tile-grid/index.js +1 -1
- package/dist/components/organisms/json-map-tile-grid/json-map-tile-grid.js +2 -20
- package/dist/components/organisms/listicle/__stories__/andor-right-click-story.js +9 -34
- package/dist/components/organisms/listicle/__stories__/listicle-fb-v-canada-story.js +7 -27
- package/dist/components/organisms/listicle/__stories__/listicle-story.js +3 -21
- package/dist/components/organisms/listicle/edit-listicle/edit-listicle.js +11 -29
- package/dist/components/organisms/listicle/edit-listicle-item-list/edit-listicle-item-list.js +12 -30
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item-input.js +29 -47
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item.js +6 -24
- package/dist/components/organisms/listicle/listicle-builder.js +3 -21
- package/dist/components/organisms/listicle/listicle-item-list.js +10 -28
- package/dist/components/organisms/listicle/listicle.js +14 -32
- package/dist/components/organisms/listicle/post-link.js +9 -27
- package/dist/components/organisms/login/login-fetching-transition.js +6 -24
- package/dist/components/organisms/login/login-fields-transition.js +24 -42
- package/dist/components/organisms/login/login-response-transition.js +21 -39
- package/dist/components/organisms/login/login-submit-transition.js +19 -37
- package/dist/components/organisms/login/login-view.js +25 -43
- package/dist/components/organisms/metrics/metrics.js +7 -25
- package/dist/components/organisms/palettes/palettes.js +18 -36
- package/dist/components/organisms/player/player.js +784 -677
- package/dist/components/organisms/registration/password-strength-helper/password-strength-helper.js +32 -50
- package/dist/components/organisms/registration/post-registration.js +20 -18
- package/dist/components/organisms/registration/registration-feedback.js +72 -0
- package/dist/components/organisms/registration/registration-form.js +81 -97
- package/dist/components/organisms/registration/registration-machine.js +17 -8
- package/dist/components/organisms/registration/registration.js +59 -75
- package/dist/components/organisms/registration/social-email.js +6 -24
- package/dist/components/organisms/stage/stage.js +54 -48
- package/dist/components/organisms/survey/__stories__/build-form-story.js +14 -32
- package/dist/components/organisms/survey/build-form.js +18 -36
- package/dist/components/organisms/survey/final-form.js +12 -30
- package/dist/components/organisms/survey/question/edit/__stories__/edit-question-story.js +15 -33
- package/dist/components/organisms/survey/question/edit/add-media.js +3 -21
- package/dist/components/organisms/survey/question/edit/add-question/__stories__/add-question-story.js +3 -21
- package/dist/components/organisms/survey/question/edit/add-question/add-question.js +36 -54
- package/dist/components/organisms/survey/question/edit/answer/answer-input.js +15 -33
- package/dist/components/organisms/survey/question/edit/answer-input.js +36 -54
- package/dist/components/organisms/survey/question/edit/edit-multiple-choice.js +8 -26
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.js +20 -38
- package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.js +19 -37
- package/dist/components/organisms/survey/question/edit/edit-option-list/option.js +7 -25
- package/dist/components/organisms/survey/question/edit/question-answer-input.js +35 -53
- package/dist/components/organisms/survey/question/take/__stories__/multiple-choice-story.js +11 -29
- package/dist/components/organisms/survey/question/take/__stories__/take-answer-date-time-input-story.js +12 -30
- package/dist/components/organisms/survey/question/take/__stories__/take-answer-input-story.js +12 -30
- package/dist/components/organisms/survey/question/take/inputs/input-manager.js +10 -28
- package/dist/components/organisms/survey/question/take/multiple-choice.js +4 -22
- package/dist/components/organisms/survey/question/take/take-answer-input.js +37 -55
- package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +1 -1
- package/dist/components/organisms/tile-grid/grid-row.js +3 -21
- package/dist/components/organisms/tile-grid/index.js +1 -1
- package/dist/components/organisms/tile-grid/island-tile-grid.js +14 -32
- package/dist/components/organisms/tile-grid/tile-grid.js +2 -20
- package/dist/components/organisms/worlds/area-of-effect/__stories__/area-of-affect-story.js +3 -21
- package/dist/components/organisms/worlds/area-of-effect/area-of-affect.js +32 -50
- package/dist/components/organisms/worlds/island/__stories__/island-story.js +17 -35
- package/dist/components/organisms/worlds/island/__stories__/island-util.js +32 -50
- package/dist/components/pages/blog/blog.js +39 -0
- package/dist/components/pages/home/headwinds/header/headwinds-header.js +15 -33
- package/dist/components/pages/home/headwinds/headwinds-footer.js +9 -27
- package/dist/components/pages/home/headwinds/headwinds-hero.js +10 -28
- package/dist/components/pages/home/headwinds/headwinds-sidequest.js +37 -55
- package/dist/components/pages/home/headwinds/home.js +9 -27
- package/dist/components/pages/index.js +3 -21
- package/dist/components/pages/profile/headwinds/headwinds-profile.js +44 -62
- package/dist/components/pages/profile/index.js +1 -19
- package/dist/components/templates/articles/article/article.js +28 -46
- package/dist/components/templates/home/headwinds/headwinds-home-hero.js +7 -25
- package/dist/components/templates/home/headwinds/headwinds-home.js +18 -36
- package/dist/components/templates/home/home.js +44 -62
- package/dist/gold-leaf-view-Ct4xOIci.js +160 -0
- package/dist/{index-BTF1caLu.js → index-BfWW2ojg.js} +609 -707
- package/dist/index-fh-QwMS3.js +3285 -0
- package/dist/index.js +172 -188
- package/dist/lib/components/atoms/radio/__stories__/radio.stories.d.ts +7 -0
- package/dist/lib/components/atoms/text/headline/headline.d.ts +10 -0
- package/dist/lib/components/atoms/text/headline/index.d.ts +2 -0
- package/dist/lib/components/atoms/text/input/__stories__/input.stories.d.ts +23 -0
- package/dist/lib/components/atoms/text/paragraph/paragraph.d.ts +3 -1
- package/dist/lib/components/atoms/text/text-area/__stories__/text-area.stories.d.ts +7 -0
- package/dist/lib/components/atoms/text/text-area/text-area.d.ts +2 -13
- package/dist/lib/components/index.d.ts +2 -2
- package/dist/lib/components/molecules/animated/animated-column/__stories__/animated-column.stories.d.ts +9 -0
- package/dist/lib/components/molecules/animated/animated-column/__tests__/animated-column.test.d.ts +1 -0
- package/dist/lib/components/molecules/animated/animated-column/animated-column.d.ts +12 -0
- package/dist/lib/components/molecules/animated/animated-column/index.d.ts +2 -0
- package/dist/lib/components/molecules/carousel/carousel.d.ts +14 -1
- package/dist/lib/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.types.d.ts +2 -3
- package/dist/lib/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.d.ts +2 -1
- package/dist/lib/components/molecules/gold-leaf/gold-leaf.types.d.ts +2 -0
- package/dist/lib/components/molecules/index.d.ts +1 -1
- package/dist/lib/components/molecules/policies/privacy-policy/__stories__/privacy-policy.stories.d.ts +7 -0
- package/dist/lib/components/molecules/policies/privacy-policy/index.d.ts +2 -0
- package/dist/lib/components/molecules/policies/privacy-policy/privacy-policy.d.ts +7 -0
- package/dist/lib/components/molecules/policies/terms-of-use/__stories__/terms-of-use.stories.d.ts +7 -0
- package/dist/lib/components/molecules/policies/terms-of-use/index.d.ts +2 -0
- package/dist/lib/components/molecules/radio-group/__stories__/radio-group.stories.d.ts +7 -0
- package/dist/lib/components/molecules/radio-group/index.d.ts +2 -0
- package/dist/lib/components/molecules/stagger/stagger.d.ts +13 -7
- package/dist/lib/components/organisms/actors/actor/actor.d.ts +2 -0
- package/dist/lib/components/organisms/actors/actor-speech/actor-speech.d.ts +16 -0
- package/dist/lib/components/organisms/actors/actor-speech/index.d.ts +2 -0
- package/dist/lib/components/organisms/blog/__stories__/blog.stories.d.ts +7 -0
- package/dist/lib/components/organisms/blog/blog.d.ts +1 -1
- package/dist/lib/components/organisms/branch/branch.d.ts +2 -2
- package/dist/lib/components/organisms/branches/branch-list.d.ts +1 -1
- package/dist/lib/components/organisms/registration/index.d.ts +1 -1
- package/dist/lib/components/organisms/registration/post-registration.d.ts +1 -0
- package/dist/lib/components/organisms/registration/registration-feedback.d.ts +8 -0
- package/dist/lib/components/organisms/registration/registration-form.d.ts +4 -3
- package/dist/lib/components/organisms/registration/registration-machine.d.ts +1 -0
- package/dist/lib/components/organisms/registration/registration.d.ts +7 -1
- package/dist/lib/components/organisms/stage/__stories__/actors-dataset.d.ts +1 -3
- package/dist/lib/components/organisms/stage/__stories__/stage.stories.d.ts +7 -0
- package/dist/lib/components/organisms/stage/stage.d.ts +6 -2
- package/dist/lib/components/organisms/tile-grid/tile-grid.d.ts +2 -2
- package/dist/lib/components/pages/blog/__stories__/blog.stories.d.ts +7 -0
- package/dist/lib/components/pages/blog/blog.d.ts +2 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/models/ActorModel.d.ts +20 -89
- package/dist/lib/models/BookModel.d.ts +2 -5
- package/dist/lib/models/ChapterModel.d.ts +2 -5
- package/dist/lib/models/CharacterLevelModel.d.ts +9 -0
- package/dist/lib/models/DungeonLevelModel.d.ts +8 -0
- package/dist/lib/models/EmailModel.d.ts +2 -12
- package/dist/lib/models/EnemyModel.d.ts +16 -39
- package/dist/lib/models/ItemModel.d.ts +2 -5
- package/dist/lib/models/JsonMapTileModel.d.ts +2 -2
- package/dist/lib/models/LeafModel.d.ts +2 -106
- package/dist/lib/models/LevelModel.d.ts +5 -11
- package/dist/lib/models/NPCModel.d.ts +13 -14
- package/dist/lib/models/NeutralModel.d.ts +3 -6
- package/dist/lib/models/ObstacleModel.d.ts +3 -5
- package/dist/lib/models/PlayerModel.d.ts +3 -6
- package/dist/lib/models/PortholeBranchModel.d.ts +18 -33
- package/dist/lib/models/PostModel.d.ts +2 -13
- package/dist/lib/models/ProfessionModel.d.ts +11 -0
- package/dist/lib/models/SettingsModel.d.ts +3 -5
- package/dist/lib/models/ShieldModel.d.ts +4 -6
- package/dist/lib/models/SkillModel.d.ts +7 -0
- package/dist/lib/models/SpellModel.d.ts +5 -0
- package/dist/lib/models/TileModel.d.ts +2 -21
- package/dist/lib/models/ToolModel.d.ts +5 -0
- package/dist/lib/models/TreeModel.d.ts +1 -5
- package/dist/lib/models/UserModel.d.ts +2 -15
- package/dist/lib/models/ViceModel.d.ts +8 -0
- package/dist/lib/models/WeaponModel.d.ts +3 -5
- package/dist/lib/models/WorldModel.d.ts +17 -12
- package/dist/lib/models/index.d.ts +21 -18
- package/dist/lib/providers/cross-country-provider.d.ts +10 -0
- package/dist/lib/providers/index.d.ts +1 -0
- package/dist/lib/providers/languages/english.d.ts +3 -0
- package/dist/lib/providers/languages/french.d.ts +3 -0
- package/dist/lib/providers/languages/token.d.ts +3 -0
- package/dist/lib/utils/golds/feed-util.d.ts +2 -3
- package/dist/models/ActorModel.js +1 -20
- package/dist/models/BookModel.js +1 -12
- package/dist/models/ChapterModel.js +1 -21
- package/dist/models/CharacterLevelModel.js +10 -0
- package/dist/models/DungeonLevelModel.js +11 -0
- package/dist/models/EmailModel.js +1 -12
- package/dist/models/EnemyModel.js +1 -19
- package/dist/models/ItemModel.js +1 -12
- package/dist/models/LeafModel.js +1 -241
- package/dist/models/LevelModel.js +5 -9
- package/dist/models/NPCModel.js +10 -7
- package/dist/models/NeutralModel.js +1 -16
- package/dist/models/ObstacleModel.js +3 -4
- package/dist/models/PlayerModel.js +3 -7
- package/dist/models/PortholeBranchModel.js +1 -31
- package/dist/models/PostModel.js +9 -10
- package/dist/models/SettingsModel.js +3 -4
- package/dist/models/ShieldModel.js +8 -9
- package/dist/models/SkillModel.js +1 -0
- package/dist/models/SpellModel.js +1 -0
- package/dist/models/TileModel.js +3 -4
- package/dist/models/ToolModel.js +1 -0
- package/dist/models/TreeModel.js +1 -12
- package/dist/models/UserModel.js +3 -4
- package/dist/models/ViceModel.js +1 -0
- package/dist/models/WeaponModel.js +3 -4
- package/dist/models/WorldModel.js +1 -22
- package/dist/models/index.js +1 -21
- package/dist/providers/cross-country-provider.js +376 -0
- package/dist/providers/index.js +4 -0
- package/dist/providers/languages/english.js +6 -0
- package/dist/providers/languages/french.js +6 -0
- package/dist/providers/languages/token.js +6 -0
- package/dist/registration.module-Dzb1ooae.js +11 -0
- package/dist/text-input.module-B9K-DcNA.js +6 -0
- package/dist/utils/golds/feed-util.js +38 -44
- package/package.json +6 -4
- package/dist/components/molecules/radiogroup/__stories__/radio-group-form-story.js +0 -83
- package/dist/components/molecules/radiogroup/index.js +0 -4
- package/dist/components/organisms/registration/registration-response.js +0 -87
- package/dist/components/organisms/worlds/carbon/carbon.js +0 -15
- package/dist/gold-leaf-view-CgRraK2i.js +0 -183
- package/dist/headline-DzDFQZ3e.js +0 -11
- package/dist/index-Ct_QpAtH.js +0 -2869
- package/dist/lib/components/molecules/policies/privacy-policy.d.ts +0 -7
- package/dist/lib/components/molecules/radiogroup/index.d.ts +0 -2
- package/dist/lib/components/organisms/registration/registration-response.d.ts +0 -5
- package/dist/lib/components/organisms/worlds/carbon/__stories__/carbon.stories.d.ts +0 -7
- package/dist/lib/components/organisms/worlds/carbon/carbon.d.ts +0 -4
- package/dist/lib/components/organisms/worlds/carbon/index.d.ts +0 -0
- package/dist/registration.module-BOGBjHpE.js +0 -11
- package/dist/text-input.module-BJmXef0w.js +0 -6
- /package/dist/components/molecules/{radiogroup/radiogroup.js → radio-group/radio-group.js} +0 -0
- /package/dist/lib/components/molecules/gold-leaf/gold-leaf-view/__stories__/{template.stories.d.ts → gold-leaf.stories.d.ts} +0 -0
- /package/dist/lib/components/molecules/policies/{terms-of-use.d.ts → terms-of-use/terms-of-use.d.ts} +0 -0
- /package/dist/lib/components/molecules/{radiogroup → radio-group}/__stories__/radio-group-form-story.d.ts +0 -0
- /package/dist/lib/components/molecules/{radiogroup → radio-group}/__stories__/radio-group-react-hook-form-story.d.ts +0 -0
- /package/dist/lib/components/molecules/{radiogroup/radiogroup.d.ts → radio-group/radio-group.d.ts} +0 -0
- /package/dist/{components/organisms/worlds/carbon/index.js → models/ProfessionModel.js} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# cross-country
|
|
2
2
|
|
|
3
|
-
> an atomic react
|
|
3
|
+
> an atomic react component library for personal metrics, simulations, and solo forest bathers
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/cross-country) [](https://standardjs.com)
|
|
6
6
|
|
|
@@ -37,7 +37,21 @@ import { Column, Row, Paragraph, Table, Chart, Bento } from "cross-country"
|
|
|
37
37
|
|
|
38
38
|
For this third-party library to work within NextJS, there is one change required to import it's single css bundle.
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
#### New App Strategy
|
|
41
|
+
|
|
42
|
+
Edit the app\layout.tsx file to:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
import type { Metadata } from "next";
|
|
46
|
+
import { Inter } from "next/font/google";
|
|
47
|
+
import "./globals.css";
|
|
48
|
+
import "cross-country/dist/bundle.css";
|
|
49
|
+
import { ScoutProviders } from "./providers/providers";
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Old Pages Strategy
|
|
53
|
+
|
|
54
|
+
Edit the pages\_app.js file to:
|
|
41
55
|
|
|
42
56
|
```
|
|
43
57
|
import type { Metadata } from "next";
|
|
@@ -85,6 +99,11 @@ or
|
|
|
85
99
|
npm run new -- --type molecules --path component-name-here/sub-component-name-her
|
|
86
100
|
```
|
|
87
101
|
|
|
102
|
+
You can also scaffold only a story:
|
|
103
|
+
```
|
|
104
|
+
npm run new:story -- --type molecules --path policies/privacy-policy
|
|
105
|
+
```
|
|
106
|
+
|
|
88
107
|
This will automatically scaffold the component directory creating all the files you will need including the tests and stories folders. It saved you at least 5 minutes if not especially around configuring the story; no more frustrating CSF errors!
|
|
89
108
|
|
|
90
109
|
## Unsplash Config
|
|
@@ -99,7 +118,7 @@ export const privateConfig = {
|
|
|
99
118
|
|
|
100
119
|
## Storybook
|
|
101
120
|
|
|
102
|
-
While creating
|
|
121
|
+
While creating components, you can use Storybook
|
|
103
122
|
|
|
104
123
|
```
|
|
105
124
|
npm run storybook
|
|
@@ -7,31 +7,13 @@ import "./react-spring_web.modern-ClBJWBW2.js";
|
|
|
7
7
|
import "./components/atoms/group/group.js";
|
|
8
8
|
import "./components/molecules/wrapper/wrapper.js";
|
|
9
9
|
import "./components/molecules/wallpaper/wallpaper.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./models/PortholeBranchModel.js";
|
|
12
|
-
import "./models/ActorModel.js";
|
|
13
|
-
import "./models/BookModel.js";
|
|
14
|
-
import "./models/ChapterModel.js";
|
|
15
|
-
import "./models/PlayerModel.js";
|
|
16
|
-
import "./models/EnemyModel.js";
|
|
17
|
-
import "./models/ItemModel.js";
|
|
18
|
-
import "./models/LeafModel.js";
|
|
19
|
-
import "./models/LevelModel.js";
|
|
20
|
-
import "./models/NeutralModel.js";
|
|
21
|
-
import "./models/NPCModel.js";
|
|
22
|
-
import "./models/SettingsModel.js";
|
|
23
|
-
import "./models/ShieldModel.js";
|
|
24
|
-
import "./models/TileModel.js";
|
|
25
|
-
import "./models/UserModel.js";
|
|
26
|
-
import "./models/WeaponModel.js";
|
|
27
|
-
import "./models/WorldModel.js";
|
|
28
|
-
import "./models/TreeModel.js";
|
|
10
|
+
import "./index-BfWW2ojg.js";
|
|
29
11
|
import "./components/organisms/registration/registration-machine.js";
|
|
30
12
|
import "./transform-DGclBZTD.js";
|
|
31
13
|
import "./components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
32
14
|
import "./index.esm-DI2C2CaF.js";
|
|
33
15
|
import "./react-masonry-css.module-CJ43viV7.js";
|
|
34
|
-
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",
|
|
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", f = () => /* @__PURE__ */ t(o, { a11y: "lightening bolt", url: i, width: 30, height: 30 });
|
|
35
17
|
export {
|
|
36
|
-
|
|
18
|
+
f as B
|
|
37
19
|
};
|
package/dist/bundle.css
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
._logo_ibbzu_1 {
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._column_183cs_1 {
|
|
5
5
|
display: flex;
|
|
6
6
|
position: relative;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
margin: 0px;
|
|
9
|
-
padding:
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 100%;
|
|
8
|
+
margin: 8px 0px;
|
|
9
|
+
padding: 16px;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
._checkbox_1npl1_1 {
|
|
@@ -182,10 +180,9 @@
|
|
|
182
180
|
color: rgb(100, 100, 100);
|
|
183
181
|
cursor: not-allowed;
|
|
184
182
|
}
|
|
185
|
-
.
|
|
183
|
+
._row_1osly_1 {
|
|
186
184
|
display: flex;
|
|
187
185
|
flex-direction: row;
|
|
188
|
-
flex-wrap: wrap;
|
|
189
186
|
align-items: center;
|
|
190
187
|
align-content: center;
|
|
191
188
|
}
|
|
@@ -283,18 +280,31 @@
|
|
|
283
280
|
display: flex;
|
|
284
281
|
flex-direction: column;
|
|
285
282
|
}
|
|
286
|
-
.
|
|
283
|
+
._textInput_nvupt_1 {
|
|
287
284
|
border: 1px solid #ccc;
|
|
288
285
|
cursor: text;
|
|
289
|
-
padding:
|
|
286
|
+
padding: 8px;
|
|
290
287
|
border-radius: 5px;
|
|
291
288
|
outline: none;
|
|
289
|
+
margin: 8px 0px;
|
|
292
290
|
}
|
|
293
291
|
|
|
294
|
-
.
|
|
295
|
-
padding:
|
|
292
|
+
._textInput_b6buf_1 {
|
|
293
|
+
padding: 12px;
|
|
296
294
|
margin: 4px;
|
|
297
|
-
resize:
|
|
295
|
+
resize: vertical;
|
|
296
|
+
min-height: 120px; /* Approximately 5 rows of text */
|
|
297
|
+
width: 100%;
|
|
298
|
+
border: 1px solid #ccc;
|
|
299
|
+
border-radius: 4px;
|
|
300
|
+
font-size: 14px;
|
|
301
|
+
line-height: 1.5;
|
|
302
|
+
transition: border-color 0.2s ease-in-out;
|
|
303
|
+
max-width: 700px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
._textInput_b6buf_1:focus {
|
|
307
|
+
outline: none;
|
|
298
308
|
}
|
|
299
309
|
|
|
300
310
|
._Span_1om91_1 {
|
|
@@ -1109,25 +1119,25 @@ li._listicle_wcjwf_9 {
|
|
|
1109
1119
|
font-size: 12px;
|
|
1110
1120
|
}
|
|
1111
1121
|
|
|
1112
|
-
.
|
|
1122
|
+
._registration_rfpnl_1 {
|
|
1113
1123
|
display: flex;
|
|
1114
1124
|
flex-direction: column;
|
|
1115
1125
|
position: relative;
|
|
1116
1126
|
}
|
|
1117
1127
|
|
|
1118
|
-
.
|
|
1128
|
+
._sendButton_rfpnl_7 {
|
|
1119
1129
|
justify-content: flex-end;
|
|
1120
1130
|
background-color: var(--primary) !important;
|
|
1121
1131
|
margin-top: 16px;
|
|
1122
1132
|
}
|
|
1123
1133
|
|
|
1124
|
-
.
|
|
1134
|
+
._icon_rfpnl_13 {
|
|
1125
1135
|
justify-content: flex-end;
|
|
1126
1136
|
background-color: #999;
|
|
1127
1137
|
width: 40px !important;
|
|
1128
1138
|
}
|
|
1129
1139
|
|
|
1130
|
-
.
|
|
1140
|
+
._fieldRow_rfpnl_19 {
|
|
1131
1141
|
display: flex;
|
|
1132
1142
|
justify-content: flex-end;
|
|
1133
1143
|
height: 40px;
|
|
@@ -1135,8 +1145,9 @@ li._listicle_wcjwf_9 {
|
|
|
1135
1145
|
margin: 4px;
|
|
1136
1146
|
}
|
|
1137
1147
|
|
|
1138
|
-
.
|
|
1148
|
+
._passwordStrengthHelperContainer_rfpnl_27 {
|
|
1139
1149
|
position: absolute;
|
|
1150
|
+
width: 116px;
|
|
1140
1151
|
border: 1px solid #666;
|
|
1141
1152
|
border-radius: 8px;
|
|
1142
1153
|
border-radius: 8px;
|
|
@@ -1145,12 +1156,12 @@ li._listicle_wcjwf_9 {
|
|
|
1145
1156
|
padding: 16px;
|
|
1146
1157
|
margin: 0;
|
|
1147
1158
|
padding: 16px;
|
|
1148
|
-
top:
|
|
1149
|
-
left:
|
|
1159
|
+
top: 48px;
|
|
1160
|
+
left: 370px;
|
|
1150
1161
|
height: 117px;
|
|
1151
1162
|
}
|
|
1152
1163
|
|
|
1153
|
-
.
|
|
1164
|
+
._passwordStrengthHelperContainer_rfpnl_27:after {
|
|
1154
1165
|
content: "";
|
|
1155
1166
|
position: absolute;
|
|
1156
1167
|
top: 150px;
|
|
@@ -1164,7 +1175,7 @@ li._listicle_wcjwf_9 {
|
|
|
1164
1175
|
border-right: 10px solid transparent;
|
|
1165
1176
|
}
|
|
1166
1177
|
|
|
1167
|
-
.
|
|
1178
|
+
._passwordHelperIcon_rfpnl_57 {
|
|
1168
1179
|
align-items: center;
|
|
1169
1180
|
justify-content: center;
|
|
1170
1181
|
margin-bottom: 8px !important;
|
|
@@ -1284,17 +1295,18 @@ li._listicle_wcjwf_9 {
|
|
|
1284
1295
|
padding: 0px;
|
|
1285
1296
|
margin: 0px;
|
|
1286
1297
|
}
|
|
1287
|
-
.
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
+
._actor_17tui_1 {
|
|
1299
|
+
justify-content: center;
|
|
1300
|
+
align-items: center;
|
|
1301
|
+
display: flex;
|
|
1302
|
+
background-color: transparent;
|
|
1303
|
+
width: 50px;
|
|
1304
|
+
height: 80px;
|
|
1305
|
+
margin: 0px;
|
|
1306
|
+
padding: 0px;
|
|
1307
|
+
position: absolute;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1298
1310
|
._stage_dmo67_1 {
|
|
1299
1311
|
position: absolute;
|
|
1300
1312
|
z-index: 1;
|
|
@@ -1304,6 +1316,23 @@ li._listicle_wcjwf_9 {
|
|
|
1304
1316
|
height: 200px;
|
|
1305
1317
|
}
|
|
1306
1318
|
|
|
1319
|
+
._actorSpeech_1l7lp_2 {
|
|
1320
|
+
z-index: 2;
|
|
1321
|
+
width: 400px;
|
|
1322
|
+
height: auto;
|
|
1323
|
+
border-radius: 8px;
|
|
1324
|
+
background-color: white;
|
|
1325
|
+
margin: 0px;
|
|
1326
|
+
padding: 8px;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
._actorParagraph_1l7lp_12 {
|
|
1330
|
+
margin: 0px;
|
|
1331
|
+
padding: 8px;
|
|
1332
|
+
font-size: 16px;
|
|
1333
|
+
color: black;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1307
1336
|
._tileGrid_tpkps_2 {
|
|
1308
1337
|
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
|
1309
1338
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
3
|
import { c as u } from "../../../clsx.m-BMVuQnLY.js";
|
|
4
|
-
const f = "
|
|
4
|
+
const f = "_column_183cs_1", o = {
|
|
5
5
|
column: f
|
|
6
|
-
}, x =
|
|
6
|
+
}, x = a(
|
|
7
7
|
({
|
|
8
8
|
children: l,
|
|
9
9
|
hasBackground: e = !1,
|
|
10
10
|
hasChildrenCentered: d = !1,
|
|
11
11
|
backgroundColor: _ = "#eee",
|
|
12
12
|
dataTestId: n = "column",
|
|
13
|
-
customStyle:
|
|
14
|
-
customClass:
|
|
15
|
-
...
|
|
16
|
-
}, m) => /* @__PURE__ */
|
|
13
|
+
customStyle: s = null,
|
|
14
|
+
customClass: t = "",
|
|
15
|
+
...r
|
|
16
|
+
}, m) => /* @__PURE__ */ c(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
19
|
ref: m,
|
|
20
|
-
...
|
|
20
|
+
...r,
|
|
21
21
|
"data-testid": n,
|
|
22
22
|
className: u(
|
|
23
23
|
o.column,
|
|
@@ -25,9 +25,9 @@ const f = "_column_1gy92_1", o = {
|
|
|
25
25
|
[o.column__opaque]: e,
|
|
26
26
|
[o.column__transparent]: e
|
|
27
27
|
},
|
|
28
|
-
|
|
28
|
+
t
|
|
29
29
|
),
|
|
30
|
-
style: { ...
|
|
30
|
+
style: { ...s },
|
|
31
31
|
children: l
|
|
32
32
|
}
|
|
33
33
|
)
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { g as n } from "../../../mobile-detect-CWVWWCSg.js";
|
|
4
|
-
|
|
5
|
-
const u = "_radio_1o14v_1", _ = "_radioSelected_1o14v_14", v = "_radioGesture_1o14v_42", m = "_radioGestureSelected_1o14v_55", s = {
|
|
4
|
+
const u = "_radio_1o14v_1", _ = "_radioSelected_1o14v_14", v = "_radioGesture_1o14v_42", m = "_radioGestureSelected_1o14v_55", i = {
|
|
6
5
|
radio: u,
|
|
7
6
|
radioSelected: _,
|
|
8
7
|
radioGesture: v,
|
|
9
8
|
radioGestureSelected: m
|
|
10
|
-
}, p = n(), f = p ? "mobile" : "desktop", k = l.createContext({ detectedDevice: f }), y = () => k._currentValue,
|
|
9
|
+
}, p = n(), f = p ? "mobile" : "desktop", k = l.createContext({ detectedDevice: f }), y = () => k._currentValue, x = ({ isSelected: o, id: e, onChange: t, tabIndex: r, register: c = null }) => {
|
|
11
10
|
y();
|
|
12
|
-
const a = "radio", d = o ?
|
|
13
|
-
return c ? /* @__PURE__ */
|
|
11
|
+
const a = "radio", d = o ? i[`${a}Selected`] : i[`${a}`];
|
|
12
|
+
return c ? /* @__PURE__ */ s(
|
|
14
13
|
"div",
|
|
15
14
|
{
|
|
16
15
|
className: d,
|
|
@@ -24,7 +23,7 @@ const u = "_radio_1o14v_1", _ = "_radioSelected_1o14v_14", v = "_radioGesture_1o
|
|
|
24
23
|
tabIndex: r,
|
|
25
24
|
...c(`${e}`)
|
|
26
25
|
}
|
|
27
|
-
) : /* @__PURE__ */
|
|
26
|
+
) : /* @__PURE__ */ s(
|
|
28
27
|
"div",
|
|
29
28
|
{
|
|
30
29
|
className: d,
|
|
@@ -40,5 +39,5 @@ const u = "_radio_1o14v_1", _ = "_radioSelected_1o14v_14", v = "_radioGesture_1o
|
|
|
40
39
|
);
|
|
41
40
|
};
|
|
42
41
|
export {
|
|
43
|
-
|
|
42
|
+
x as default
|
|
44
43
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { forwardRef as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
5
|
-
},
|
|
1
|
+
import { forwardRef as l, createElement as c } from "react";
|
|
2
|
+
import { c as n } from "../../../clsx.m-BMVuQnLY.js";
|
|
3
|
+
const m = "_row_1osly_1", w = {
|
|
4
|
+
row: m
|
|
5
|
+
}, y = l(
|
|
6
6
|
({
|
|
7
7
|
id: e,
|
|
8
8
|
children: r,
|
|
@@ -10,12 +10,12 @@ const n = "_row_197sm_1", w = {
|
|
|
10
10
|
customClass: o = "",
|
|
11
11
|
customStyle: t = {},
|
|
12
12
|
...s
|
|
13
|
-
}, a) => /* @__PURE__ */
|
|
13
|
+
}, a) => /* @__PURE__ */ c(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
16
|
...s,
|
|
17
17
|
key: e,
|
|
18
|
-
className:
|
|
18
|
+
className: n(w.row, o),
|
|
19
19
|
style: t,
|
|
20
20
|
ref: a
|
|
21
21
|
},
|
|
@@ -23,5 +23,5 @@ const n = "_row_197sm_1", w = {
|
|
|
23
23
|
)
|
|
24
24
|
);
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
y as default
|
|
27
27
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../../clsx.m-BMVuQnLY.js";
|
|
3
|
+
const l = "_headline_1jy9u_1", c = "_warIsOver_1jy9u_13", _ = "_ifYouWant_1jy9u_22", d = {
|
|
4
|
+
headline: l,
|
|
5
|
+
warIsOver: c,
|
|
6
|
+
ifYouWant: _
|
|
7
|
+
}, h = ({
|
|
8
|
+
color: e = "",
|
|
9
|
+
text: s,
|
|
10
|
+
children: a,
|
|
11
|
+
customStyle: n = {},
|
|
12
|
+
customClass: t = "",
|
|
13
|
+
...o
|
|
14
|
+
}) => /* @__PURE__ */ r(
|
|
15
|
+
"h1",
|
|
16
|
+
{
|
|
17
|
+
...o,
|
|
18
|
+
className: i(d.headline, t),
|
|
19
|
+
style: { color: e, ...n },
|
|
20
|
+
children: s || a
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
h as default
|
|
25
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const s = {
|
|
2
2
|
UNSPLASH_API_KEY: "",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
},
|
|
3
|
+
PERPLEXITY_API_KEY: "",
|
|
4
|
+
RAPID_API_KEY: ""
|
|
5
|
+
}, p = s == null ? void 0 : s.PERPLEXITY_API_KEY, E = async (n, o = 0.6, r = null) => {
|
|
6
6
|
const c = "https://api.perplexity.ai/chat/completions", a = {
|
|
7
7
|
Accept: "application/json",
|
|
8
8
|
"Content-Type": "application/json",
|
|
9
|
-
Authorization: `Bearer ${
|
|
9
|
+
Authorization: `Bearer ${p}`
|
|
10
10
|
// Fetch from your project's environment variables
|
|
11
|
-
},
|
|
11
|
+
}, i = {
|
|
12
12
|
model: "pplx-7b-online",
|
|
13
13
|
stream: !1,
|
|
14
14
|
max_tokens: 80,
|
|
@@ -27,7 +27,7 @@ const s = {
|
|
|
27
27
|
}, e = await (await fetch(c, {
|
|
28
28
|
method: "POST",
|
|
29
29
|
headers: a,
|
|
30
|
-
body: JSON.stringify(
|
|
30
|
+
body: JSON.stringify(i)
|
|
31
31
|
})).json();
|
|
32
32
|
if (e != null && e.choices && (e == null ? void 0 : e.choices.length) > 0) {
|
|
33
33
|
const t = e == null ? void 0 : e.choices[0].message;
|
|
@@ -37,5 +37,5 @@ const s = {
|
|
|
37
37
|
return "";
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
E as default
|
|
41
41
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as y } from "react";
|
|
3
3
|
import { a as b } from "../../../../xstate-react.esm-DWdE0_Ay.js";
|
|
4
4
|
import { inputTextMachine as v } from "./input-text-machine.js";
|
|
5
|
-
import { s as u } from "../../../../text-input.module-
|
|
5
|
+
import { s as u } from "../../../../text-input.module-B9K-DcNA.js";
|
|
6
6
|
import { c as o } from "../../../../clsx.m-BMVuQnLY.js";
|
|
7
7
|
const j = ({
|
|
8
8
|
actorOptions: x,
|
|
@@ -1,49 +1,53 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { s as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
onTextChange:
|
|
1
|
+
import { jsx as n, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { s as f } from "../../../../text-input.module-B9K-DcNA.js";
|
|
3
|
+
import { c as o } from "../../../../clsx.m-BMVuQnLY.js";
|
|
4
|
+
const j = ({
|
|
5
|
+
onTextChange: a,
|
|
6
6
|
value: c,
|
|
7
7
|
customClass: r = "",
|
|
8
8
|
customStyle: s = {},
|
|
9
9
|
placeholder: l = "enter your text",
|
|
10
|
-
type:
|
|
11
|
-
isDisabled:
|
|
12
|
-
data:
|
|
13
|
-
register:
|
|
14
|
-
defaultValue:
|
|
15
|
-
onFocus:
|
|
16
|
-
onBlur:
|
|
17
|
-
...
|
|
18
|
-
}) =>
|
|
10
|
+
type: m = "text",
|
|
11
|
+
isDisabled: I = !1,
|
|
12
|
+
data: t = null,
|
|
13
|
+
register: p = null,
|
|
14
|
+
defaultValue: e = null,
|
|
15
|
+
onFocus: u,
|
|
16
|
+
onBlur: x,
|
|
17
|
+
...g
|
|
18
|
+
}) => p ? /* @__PURE__ */ n(y, { children: /* @__PURE__ */ n(
|
|
19
19
|
"input",
|
|
20
20
|
{
|
|
21
|
-
type:
|
|
22
|
-
disabled:
|
|
23
|
-
className:
|
|
21
|
+
type: m,
|
|
22
|
+
disabled: I,
|
|
23
|
+
className: o(f.textInput, r),
|
|
24
24
|
style: s,
|
|
25
25
|
placeholder: l,
|
|
26
|
-
|
|
26
|
+
onFocus: u,
|
|
27
|
+
onBlur: x,
|
|
28
|
+
...p(t == null ? void 0 : t.name)
|
|
27
29
|
}
|
|
28
|
-
) }) : /* @__PURE__ */
|
|
30
|
+
) }) : /* @__PURE__ */ n(
|
|
29
31
|
"input",
|
|
30
32
|
{
|
|
31
|
-
...
|
|
32
|
-
type:
|
|
33
|
-
className:
|
|
34
|
-
onChange: (
|
|
35
|
-
|
|
33
|
+
...g,
|
|
34
|
+
type: m,
|
|
35
|
+
className: o(f.textInput, r),
|
|
36
|
+
onChange: (i) => {
|
|
37
|
+
i.preventDefault();
|
|
36
38
|
const {
|
|
37
|
-
target: { value:
|
|
38
|
-
} =
|
|
39
|
-
return
|
|
39
|
+
target: { value: v }
|
|
40
|
+
} = i;
|
|
41
|
+
return a(v);
|
|
40
42
|
},
|
|
41
|
-
|
|
43
|
+
onFocus: u,
|
|
44
|
+
onBlur: x,
|
|
45
|
+
...!e && { value: c },
|
|
42
46
|
style: s,
|
|
43
47
|
placeholder: l,
|
|
44
|
-
...
|
|
48
|
+
...e && { defaultValue: e }
|
|
45
49
|
}
|
|
46
50
|
);
|
|
47
51
|
export {
|
|
48
|
-
|
|
52
|
+
j as default
|
|
49
53
|
};
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
paragraph:
|
|
5
|
-
},
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../../../../clsx.m-BMVuQnLY.js";
|
|
3
|
+
const c = "_paragraph_1mpth_1", h = {
|
|
4
|
+
paragraph: c
|
|
5
|
+
}, g = ({
|
|
6
|
+
children: a,
|
|
7
|
+
customClass: r = "",
|
|
8
|
+
customStyle: p = {},
|
|
9
|
+
maxWidth: s = 600
|
|
10
|
+
}) => /* @__PURE__ */ t(
|
|
11
|
+
"p",
|
|
12
|
+
{
|
|
13
|
+
className: o(h.paragraph, r),
|
|
14
|
+
style: { maxWidth: s, ...p },
|
|
15
|
+
children: a
|
|
16
|
+
}
|
|
17
|
+
);
|
|
6
18
|
export {
|
|
7
|
-
|
|
19
|
+
g as default
|
|
8
20
|
};
|