cross-country 1.2.35 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{bolt-4ERTDIX4.js → bolt-BG48O0Tn.js} +2 -2
- package/dist/components/atoms/circle/__tests__/circle.test.js +1 -1
- package/dist/components/atoms/column/__tests__/column.test.js +2 -2
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/atoms/index.js +18 -16
- package/dist/components/atoms/text/animate-number/animate-number.js +1 -1
- package/dist/components/atoms/text/animate-text/index.d.ts +1 -0
- package/dist/components/atoms/text/animate-text/index.js +14 -0
- package/dist/components/atoms/text/animate-text/scramble-text/__stories__/scramble-text.stories.d.ts +7 -0
- package/dist/components/atoms/text/animate-text/scramble-text/index.d.ts +2 -0
- package/dist/components/atoms/text/animate-text/scramble-text/index.js +4 -0
- package/dist/components/atoms/text/animate-text/scramble-text/scramble-text.d.ts +13 -0
- package/dist/components/atoms/text/animate-text/scramble-text/scramble-text.js +69 -0
- package/dist/components/atoms/text/index.js +1 -1
- package/dist/components/atoms/text/span/__stories__/span-story.js +2 -2
- package/dist/components/index.js +122 -120
- package/dist/components/molecules/animated/animated-column/__tests__/animated-column.test.js +2 -2
- package/dist/components/molecules/animated/animated-column/animated-column.js +2 -2
- package/dist/components/molecules/card/amazon/amazon-card.js +2 -2
- package/dist/components/molecules/card/builder/card-editor.js +2 -2
- package/dist/components/molecules/card/card.js +2 -2
- package/dist/components/molecules/carousel/carousel.js +2 -2
- package/dist/components/molecules/day-number/day-number.js +2 -2
- package/dist/components/molecules/field/field.js +2 -2
- package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +3 -3
- package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +2 -2
- package/dist/components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js +2 -2
- package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +3 -3
- 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 +2 -2
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +3 -3
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +3 -3
- package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
- package/dist/components/molecules/header/cc-header.js +2 -2
- package/dist/components/molecules/hero/hero.js +2 -2
- package/dist/components/molecules/icons/index.js +2 -2
- package/dist/components/molecules/icons/x/x.js +2 -2
- package/dist/components/molecules/index.js +3 -3
- package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +1 -1
- package/dist/components/molecules/key-value-pairs/key-value-pair.js +2 -2
- package/dist/components/molecules/key-value-pairs/key-value-pairs.js +2 -2
- package/dist/components/molecules/keywords/keywords.js +2 -2
- package/dist/components/molecules/loading/__tests__/loading.test.js +1 -1
- package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +2 -2
- package/dist/components/molecules/log-error-boundary/log-error-boundary.js +2 -2
- package/dist/components/molecules/modal/modal.js +2 -2
- package/dist/components/molecules/policies/index.js +2 -2
- package/dist/components/molecules/policies/privacy-policy/privacy-policy.js +2 -2
- package/dist/components/molecules/policies/terms-of-use/terms-of-use.js +2 -2
- package/dist/components/molecules/quote/quote.js +2 -2
- package/dist/components/molecules/radio-group/__stories__/radio-group-form-story.js +2 -2
- package/dist/components/molecules/radio-group/__stories__/radio-group-react-hook-form-story.js +2 -2
- package/dist/components/molecules/related-articles/related-articles.js +2 -2
- package/dist/components/molecules/search/search.js +2 -2
- package/dist/components/molecules/stagger/stagger.js +2 -2
- package/dist/components/molecules/tile/corners.js +1 -1
- package/dist/components/molecules/tile/index.js +1 -1
- package/dist/components/molecules/tile/tile-interactive.js +2 -2
- package/dist/components/molecules/tile/tile.js +1 -1
- package/dist/components/molecules/time-progress/__tests__/progress.test.js +1 -1
- package/dist/components/molecules/time-progress/progress-over-year.js +2 -2
- package/dist/components/molecules/time-progress/progress.js +2 -2
- package/dist/components/molecules/user/anon-user.js +2 -2
- package/dist/components/molecules/user/user.js +3 -3
- package/dist/components/molecules/venn-diagram/__tests__/venn-diagram.tests.js +1 -1
- package/dist/components/molecules/venn-diagram/venn-diagram-circle.js +2 -2
- package/dist/components/molecules/venn-diagram/venn-diagram.js +2 -2
- package/dist/components/molecules/wallpaper/__tests__/wallpaper.tests.js +2 -2
- package/dist/components/molecules/wallpaper/wallpaper.js +1 -1
- package/dist/components/molecules/wrapper/__stories__/wrapper-children-story.js +2 -2
- package/dist/components/organisms/actors/actor/actor-builder.js +2 -2
- package/dist/components/organisms/actors/actor/actor.js +2 -2
- package/dist/components/organisms/actors/actor-speech/actor-speech.js +2 -2
- package/dist/components/organisms/actors/monsters/troll/troll.js +2 -2
- package/dist/components/organisms/ads/ad-card.js +2 -2
- package/dist/components/organisms/animation/animate-actor/animate-actor.js +2 -2
- package/dist/components/organisms/animation/one-day/one-day.js +2 -2
- package/dist/components/organisms/animation/reverse-text-animation/reverse-text-animation.js +2 -2
- package/dist/components/organisms/bento/layouts/five-by-four/bento-five-by-four.js +2 -2
- package/dist/components/organisms/bento/layouts/four-by-four/bento-four-by-four.js +2 -2
- package/dist/components/organisms/bento/layouts/three-by-three/bento-three-by-three.js +2 -2
- package/dist/components/organisms/bento/layouts/two-by-two/bento-two-by-two.js +2 -2
- package/dist/components/organisms/blog/__stories__/blog-story.js +2 -2
- package/dist/components/organisms/blog/blog-post/__stories__/blog-post-story.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post.js +2 -2
- package/dist/components/organisms/blog/blog-post-list.js +2 -2
- package/dist/components/organisms/blog/blog.js +2 -2
- package/dist/components/organisms/branch/branch.js +2 -2
- package/dist/components/organisms/branches/__tests__/branch-list.test.js +1 -1
- package/dist/components/organisms/branches/branch-list.js +2 -2
- package/dist/components/organisms/branches/branches.js +2 -2
- package/dist/components/organisms/calendar/calendar.js +2 -2
- package/dist/components/organisms/charts/chart/chart-gold-leaf/chart-gold-leaf.js +2 -2
- package/dist/components/organisms/clusters/cluster.js +2 -2
- package/dist/components/organisms/index.js +1 -1
- 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 -2
- package/dist/components/organisms/listicle/__stories__/andor-right-click-story.js +2 -2
- package/dist/components/organisms/listicle/__stories__/listicle-fb-v-canada-story.js +2 -2
- package/dist/components/organisms/listicle/__stories__/listicle-story.js +2 -2
- package/dist/components/organisms/listicle/edit-listicle/edit-listicle.js +2 -2
- package/dist/components/organisms/listicle/edit-listicle-item-list/edit-listicle-item-list.js +2 -2
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item-input.js +2 -2
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item.js +2 -2
- package/dist/components/organisms/listicle/listicle-builder.js +2 -2
- package/dist/components/organisms/listicle/listicle-item-list.js +2 -2
- package/dist/components/organisms/listicle/listicle.js +2 -2
- package/dist/components/organisms/listicle/post-link.js +2 -2
- package/dist/components/organisms/login/login-fetching-transition.js +4 -4
- package/dist/components/organisms/login/login-fields-transition.js +2 -2
- package/dist/components/organisms/login/login-response-transition.js +2 -2
- package/dist/components/organisms/login/login-submit-transition.js +2 -2
- package/dist/components/organisms/login/login-view.js +2 -2
- package/dist/components/organisms/metrics/metrics.js +2 -2
- package/dist/components/organisms/palettes/palettes.js +2 -2
- package/dist/components/organisms/player/player.js +2 -2
- package/dist/components/organisms/registration/password-strength-helper/password-strength-helper.js +2 -2
- package/dist/components/organisms/registration/registration-feedback.js +2 -2
- package/dist/components/organisms/registration/registration-form.js +2 -2
- package/dist/components/organisms/registration/registration.js +2 -2
- package/dist/components/organisms/registration/social-email.js +2 -2
- package/dist/components/organisms/stage/stage.js +2 -2
- package/dist/components/organisms/survey/__stories__/build-form-story.js +2 -2
- package/dist/components/organisms/survey/question/edit/add-question/add-question.js +2 -2
- package/dist/components/organisms/survey/question/edit/answer-input/answer-input.js +2 -2
- package/dist/components/organisms/survey/question/edit/answer-input.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-multiple-choice.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-option-list/add-media/add-media.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-option-list/option.js +2 -2
- package/dist/components/organisms/survey/question/edit/question-answer-input.js +2 -2
- package/dist/components/organisms/survey/question/take/inputs/input-manager.js +2 -2
- package/dist/components/organisms/survey/question/take/multiple-choice.js +2 -2
- package/dist/components/organisms/survey/question/take/take-answer-input.js +2 -2
- package/dist/components/organisms/survey/survey-builder.js +2 -2
- package/dist/components/organisms/survey/survey.js +2 -2
- package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +2 -2
- package/dist/components/organisms/tile-grid/grid-row.js +2 -2
- package/dist/components/organisms/tile-grid/index.js +1 -1
- package/dist/components/organisms/tile-grid/island-tile-grid.js +2 -2
- package/dist/components/organisms/tile-grid/tile-grid.js +2 -2
- package/dist/components/pages/home/headwinds/header/headwinds-header.js +2 -2
- package/dist/components/pages/home/headwinds/headwinds-footer.js +2 -2
- package/dist/components/pages/home/headwinds/headwinds-hero.js +2 -2
- package/dist/components/pages/home/headwinds/headwinds-sidequest.js +3 -3
- package/dist/components/pages/home/headwinds/home.js +2 -2
- package/dist/components/pages/profile/headwinds/headwinds-profile.js +2 -2
- package/dist/components/pages/profile/index.js +2 -2
- package/dist/components/templates/articles/article/article.js +2 -2
- package/dist/components/templates/home/headwinds/headwinds-home-hero.js +2 -2
- package/dist/components/templates/home/headwinds/headwinds-home.js +2 -2
- package/dist/components/templates/home/home.js +2 -2
- package/dist/{gold-leaf-view-DlKjAnIG.js → gold-leaf-view-yJc4vmAY.js} +2 -2
- package/dist/{index-Czxgdx6l.js → index-BoPmlL_S.js} +1 -1
- package/dist/index.js +136 -134
- package/dist/{react-spring_web.modern-B1rM1voo.js → react-spring_web.modern-C8ckweT7.js} +4 -2
- package/dist/{react.esm-CZJdfVOy.js → react.esm-BKPSTSo2.js} +5 -4
- package/dist/vi.DgezovHB-CFs32wG7.js +11916 -0
- package/package.json +2 -2
- package/dist/vi.YFlodzP_-BudnCaEw.js +0 -9674
|
@@ -3,11 +3,11 @@ import "react";
|
|
|
3
3
|
import "./components/atoms/column/column.js";
|
|
4
4
|
import "./components/atoms/row/row.js";
|
|
5
5
|
import o from "./components/atoms/image/image.js";
|
|
6
|
-
import "./react-spring_web.modern-
|
|
6
|
+
import "./react-spring_web.modern-C8ckweT7.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-
|
|
10
|
+
import "./index-BoPmlL_S.js";
|
|
11
11
|
import "./components/organisms/registration/registration-machine.js";
|
|
12
12
|
import "./transform-CAFMLvzX.js";
|
|
13
13
|
import "./components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { r as o, s as i } from "../../../../react.esm-
|
|
2
|
+
import { r as o, s as i } from "../../../../react.esm-BKPSTSo2.js";
|
|
3
3
|
import "../../../../index-ZOVD6bFe.js";
|
|
4
4
|
import r from "../circle.js";
|
|
5
5
|
describe("Circle component", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { r as n } from "../../../../react.esm-
|
|
2
|
+
import { r as n } from "../../../../react.esm-BKPSTSo2.js";
|
|
3
3
|
import s from "../column.js";
|
|
4
|
-
import { d as c, b as a, i as d, g as l } from "../../../../vi.
|
|
4
|
+
import { d as c, b as a, i as d, g as l } from "../../../../vi.DgezovHB-CFs32wG7.js";
|
|
5
5
|
c("<Column />", () => {
|
|
6
6
|
let o;
|
|
7
7
|
a(() => {
|
|
@@ -48,6 +48,8 @@ export { default as ListItem } from './list/list-item/list-item';
|
|
|
48
48
|
export type { ListItemProps } from './list/list-item/list-item';
|
|
49
49
|
export { default as AnimateNumber } from './text/animate-number/animate-number';
|
|
50
50
|
export type { AnimateNumberProps } from './text/animate-number/animate-number';
|
|
51
|
+
export { default as ScrambleText } from './text/animate-text/scramble-text';
|
|
52
|
+
export type { ScrambleTextProps } from './text/animate-text/scramble-text';
|
|
51
53
|
export { default as Table } from './table';
|
|
52
54
|
export type { TableProps } from './table';
|
|
53
55
|
export { default as TableBody } from './table/table-body';
|
|
@@ -7,7 +7,7 @@ import { default as x } from "./radio/radio.js";
|
|
|
7
7
|
import { default as n } from "./button/button.js";
|
|
8
8
|
import { default as T } from "./row/row.js";
|
|
9
9
|
import { default as H } from "./image/image.js";
|
|
10
|
-
import { default as
|
|
10
|
+
import { default as g } from "./horizontal-line/horizontal-line.js";
|
|
11
11
|
import { default as S } from "./text/headline/headline.js";
|
|
12
12
|
import { default as w } from "./text/sub-headline/sub-headline.js";
|
|
13
13
|
import { default as G } from "./text/paragraph/paragraph.js";
|
|
@@ -22,43 +22,45 @@ import { default as J } from "./text/label/label.js";
|
|
|
22
22
|
import { default as M } from "./list/list.js";
|
|
23
23
|
import { default as Q } from "./list/list-item/list-item.js";
|
|
24
24
|
import { default as W } from "./text/animate-number/animate-number.js";
|
|
25
|
-
import { default as Y } from "./
|
|
26
|
-
import { default as _ } from "./
|
|
27
|
-
import { default as aa } from "./
|
|
28
|
-
import { default as oa } from "./
|
|
29
|
-
import {
|
|
25
|
+
import { default as Y } from "./text/animate-text/scramble-text/scramble-text.js";
|
|
26
|
+
import { default as _ } from "./svg/svg.js";
|
|
27
|
+
import { default as aa } from "./circle/circle.js";
|
|
28
|
+
import { default as oa } from "./group/group.js";
|
|
29
|
+
import { default as ra } from "./link/link.js";
|
|
30
|
+
import { T as la, a as da, d as sa, b as ma, c as ua } from "../../table-data-BnRZ5F7y.js";
|
|
30
31
|
export {
|
|
31
32
|
W as AnimateNumber,
|
|
32
33
|
v as Bold,
|
|
33
34
|
n as Button,
|
|
34
35
|
u as Checkbox,
|
|
35
|
-
|
|
36
|
+
aa as Circle,
|
|
36
37
|
s as Column,
|
|
37
38
|
r as CrossCountryLogo,
|
|
38
39
|
R as Form,
|
|
39
40
|
l as Grid,
|
|
40
|
-
|
|
41
|
+
oa as Group,
|
|
41
42
|
S as Headline,
|
|
42
43
|
o as HeadwindsLogo,
|
|
43
44
|
j as Hilight,
|
|
44
|
-
|
|
45
|
+
g as HorizontalLine,
|
|
45
46
|
H as Image,
|
|
46
47
|
J as Label,
|
|
47
|
-
|
|
48
|
+
ra as Link,
|
|
48
49
|
M as List,
|
|
49
50
|
Q as ListItem,
|
|
50
51
|
G as Paragraph,
|
|
51
52
|
x as Radio,
|
|
52
53
|
T as Row,
|
|
53
|
-
|
|
54
|
+
_ as SVG,
|
|
55
|
+
Y as ScrambleText,
|
|
54
56
|
P as Select,
|
|
55
57
|
F as Span,
|
|
56
58
|
w as SubHeadline,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
la as Table,
|
|
60
|
+
da as TableBody,
|
|
61
|
+
sa as TableData,
|
|
62
|
+
ma as TableHead,
|
|
63
|
+
ua as TableRow,
|
|
62
64
|
z as TextArea,
|
|
63
65
|
y as TextInput
|
|
64
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import { u as f, a as c } from "../../../../react-spring_web.modern-
|
|
3
|
+
import { u as f, a as c } from "../../../../react-spring_web.modern-C8ckweT7.js";
|
|
4
4
|
const p = "_number_x0du_1", b = {
|
|
5
5
|
number: p
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scramble-text';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../../react-spring_web.modern-C8ckweT7.js";
|
|
4
|
+
import "../../column/column.js";
|
|
5
|
+
import "../../row/row.js";
|
|
6
|
+
import "../../group/group.js";
|
|
7
|
+
import "../../../molecules/wrapper/wrapper.js";
|
|
8
|
+
import "../../../molecules/wallpaper/wallpaper.js";
|
|
9
|
+
import "../../../../index-BoPmlL_S.js";
|
|
10
|
+
import "../../../organisms/registration/registration-machine.js";
|
|
11
|
+
import "../../../../transform-CAFMLvzX.js";
|
|
12
|
+
import "../../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
13
|
+
import "../../../../index.esm-DINKtp6l.js";
|
|
14
|
+
import "../../../../react-masonry-css.module-CJ43viV7.js";
|
package/dist/components/atoms/text/animate-text/scramble-text/__stories__/scramble-text.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as ScrambleText } from '../scramble-text';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof ScrambleText>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof ScrambleText>;
|
|
7
|
+
export declare const ScrambleTextStory: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ScrambleTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
duration?: number;
|
|
7
|
+
scrambleDuration?: number;
|
|
8
|
+
autoPlay?: boolean;
|
|
9
|
+
customClass?: string;
|
|
10
|
+
customStyle?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const ScrambleText: React.FC<ScrambleTextProps>;
|
|
13
|
+
export default ScrambleText;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as T } from "react/jsx-runtime";
|
|
2
|
+
import { useState as v, useRef as a, useCallback as l, useEffect as I } from "react";
|
|
3
|
+
import { u as H, c as N, a as U } from "../../../../../react-spring_web.modern-C8ckweT7.js";
|
|
4
|
+
import "../../../column/column.js";
|
|
5
|
+
import { c as q } from "../../../../../clsx.m-BMVuQnLY.js";
|
|
6
|
+
import "../../../row/row.js";
|
|
7
|
+
import z from "../../span/span.js";
|
|
8
|
+
import "../../../group/group.js";
|
|
9
|
+
import "../../../../molecules/wrapper/wrapper.js";
|
|
10
|
+
import "../../../../molecules/wallpaper/wallpaper.js";
|
|
11
|
+
import "../../../../../index-BoPmlL_S.js";
|
|
12
|
+
import "../../../../organisms/registration/registration-machine.js";
|
|
13
|
+
import "../../../../../transform-CAFMLvzX.js";
|
|
14
|
+
import "../../../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
15
|
+
import "../../../../../index.esm-DINKtp6l.js";
|
|
16
|
+
import "../../../../../react-masonry-css.module-CJ43viV7.js";
|
|
17
|
+
const R = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()", rr = ({
|
|
18
|
+
text: e,
|
|
19
|
+
className: b,
|
|
20
|
+
duration: f = 2e3,
|
|
21
|
+
scrambleDuration: p = 100,
|
|
22
|
+
autoPlay: h = !0,
|
|
23
|
+
customClass: C,
|
|
24
|
+
customStyle: E
|
|
25
|
+
}) => {
|
|
26
|
+
const [M, u] = v(""), [B, g] = v(!1), m = a(/* @__PURE__ */ new Set()), d = a([]), n = a(null), s = a([]), j = H({
|
|
27
|
+
from: { opacity: 0, y: 10 },
|
|
28
|
+
to: { opacity: 1, y: 0 },
|
|
29
|
+
config: N.gentle
|
|
30
|
+
}), w = () => R.charAt(Math.floor(Math.random() * R.length)), y = l(() => {
|
|
31
|
+
const t = [];
|
|
32
|
+
for (let r = 0; r < e.length; r++)
|
|
33
|
+
e[r] !== " " && t.push(r);
|
|
34
|
+
return t;
|
|
35
|
+
}, [e]), P = (t) => {
|
|
36
|
+
const r = [...t];
|
|
37
|
+
for (let o = r.length - 1; o > 0; o--) {
|
|
38
|
+
const c = Math.floor(Math.random() * (o + 1));
|
|
39
|
+
[r[o], r[c]] = [r[c], r[o]];
|
|
40
|
+
}
|
|
41
|
+
return r;
|
|
42
|
+
}, A = l(() => {
|
|
43
|
+
const t = e.split("");
|
|
44
|
+
for (let r = 0; r < t.length; r++)
|
|
45
|
+
t[r] !== " " && !m.current.has(r) && (t[r] = w());
|
|
46
|
+
u(t.join(""));
|
|
47
|
+
}, [e]), S = l(() => {
|
|
48
|
+
g(!0), n.current && clearInterval(n.current), s.current.forEach(clearTimeout), s.current = [], m.current = /* @__PURE__ */ new Set(), d.current = P(y()), n.current = setInterval(A, p);
|
|
49
|
+
const t = d.current, r = f / t.length;
|
|
50
|
+
t.forEach((o, c) => {
|
|
51
|
+
const k = setTimeout(() => {
|
|
52
|
+
m.current.add(o), c === t.length - 1 && (n.current && clearInterval(n.current), u(e), g(!1));
|
|
53
|
+
}, r * (c + 1));
|
|
54
|
+
s.current.push(k);
|
|
55
|
+
});
|
|
56
|
+
}, [
|
|
57
|
+
e,
|
|
58
|
+
f,
|
|
59
|
+
p,
|
|
60
|
+
A,
|
|
61
|
+
y
|
|
62
|
+
]), i = l(() => {
|
|
63
|
+
n.current && clearInterval(n.current), s.current.forEach(clearTimeout), s.current = [];
|
|
64
|
+
}, []);
|
|
65
|
+
return I(() => (h ? S() : u(e), i), [e, h, S, i]), I(() => i, [i]), /* @__PURE__ */ T(U.div, { style: j, className: q("relative", b), children: /* @__PURE__ */ T(z, { customClass: C, customStyle: E, children: M || e }) });
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
rr as default
|
|
69
|
+
};
|
|
@@ -5,11 +5,11 @@ import n from "../../../row/row.js";
|
|
|
5
5
|
import w from "../../../image/image.js";
|
|
6
6
|
import d from "../../paragraph/paragraph.js";
|
|
7
7
|
import H from "../span.js";
|
|
8
|
-
import "../../../../../react-spring_web.modern-
|
|
8
|
+
import "../../../../../react-spring_web.modern-C8ckweT7.js";
|
|
9
9
|
import "../../../group/group.js";
|
|
10
10
|
import "../../../../molecules/wrapper/wrapper.js";
|
|
11
11
|
import "../../../../molecules/wallpaper/wallpaper.js";
|
|
12
|
-
import "../../../../../index-
|
|
12
|
+
import "../../../../../index-BoPmlL_S.js";
|
|
13
13
|
import "../../../../organisms/registration/registration-machine.js";
|
|
14
14
|
import "../../../../../transform-CAFMLvzX.js";
|
|
15
15
|
import "../../../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
package/dist/components/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import { default as u } from "./atoms/checkbox/checkbox.js";
|
|
|
6
6
|
import { default as i } from "./atoms/radio/radio.js";
|
|
7
7
|
import { default as T } from "./atoms/button/button.js";
|
|
8
8
|
import { default as g } from "./atoms/row/row.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as H } from "./atoms/image/image.js";
|
|
10
10
|
import { default as L } from "./atoms/horizontal-line/horizontal-line.js";
|
|
11
11
|
import { default as h } from "./atoms/text/headline/headline.js";
|
|
12
12
|
import { default as B } from "./atoms/text/sub-headline/sub-headline.js";
|
|
13
13
|
import { default as G } from "./atoms/text/paragraph/paragraph.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
14
|
+
import { default as S } from "./atoms/form/form.js";
|
|
15
|
+
import { default as P } from "./atoms/text/input/text-input.js";
|
|
16
16
|
import { default as W } from "./atoms/text/text-area/text-area.js";
|
|
17
17
|
import { default as E } from "./atoms/text/span/span.js";
|
|
18
18
|
import { default as v } from "./atoms/select/select.js";
|
|
@@ -22,144 +22,146 @@ import { default as U } from "./atoms/text/label/label.js";
|
|
|
22
22
|
import { default as N } from "./atoms/list/list.js";
|
|
23
23
|
import { default as j } from "./atoms/list/list-item/list-item.js";
|
|
24
24
|
import { default as X } from "./atoms/text/animate-number/animate-number.js";
|
|
25
|
-
import { default as Z } from "./atoms/
|
|
26
|
-
import { default as $ } from "./atoms/
|
|
27
|
-
import { default as ae } from "./atoms/
|
|
28
|
-
import { default as oe } from "./
|
|
29
|
-
import { default as fe } from "./molecules/
|
|
30
|
-
import { default as se } from "./molecules/
|
|
31
|
-
import { default as me } from "./molecules/
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { default as ge } from "./molecules/
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as Le } from "./molecules/
|
|
37
|
-
import { default as he } from "./molecules/
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as We } from "./molecules/
|
|
43
|
-
import { default as Ee } from "./molecules/
|
|
44
|
-
import { default as ve } from "./molecules/
|
|
45
|
-
import { default as De } from "./molecules/policies/
|
|
46
|
-
import { default as Ke } from "./molecules/
|
|
47
|
-
import { default as Ue } from "./molecules/
|
|
48
|
-
import { default as Ne } from "./molecules/
|
|
25
|
+
import { default as Z } from "./atoms/text/animate-text/scramble-text/scramble-text.js";
|
|
26
|
+
import { default as $ } from "./atoms/svg/svg.js";
|
|
27
|
+
import { default as ae } from "./atoms/circle/circle.js";
|
|
28
|
+
import { default as oe } from "./atoms/group/group.js";
|
|
29
|
+
import { default as fe } from "./molecules/animated/animated-column/animated-column.js";
|
|
30
|
+
import { default as se } from "./molecules/checkboxlabel/checkboxlabel.js";
|
|
31
|
+
import { default as me } from "./molecules/wrapper/wrapper.js";
|
|
32
|
+
import { default as ue } from "./molecules/wallpaper/wallpaper.js";
|
|
33
|
+
import { J as ie, T as ne, a as Te } from "../index-BoPmlL_S.js";
|
|
34
|
+
import { default as ge } from "./molecules/modal/modal.js";
|
|
35
|
+
import { default as He } from "./molecules/stagger/stagger.js";
|
|
36
|
+
import { default as Le } from "./molecules/related-articles/related-articles.js";
|
|
37
|
+
import { default as he } from "./molecules/card/card.js";
|
|
38
|
+
import { default as Be } from "./molecules/gold-leaf/gold-leaf.js";
|
|
39
|
+
import { B as Ge } from "../bolt-BG48O0Tn.js";
|
|
40
|
+
import { default as Se } from "./molecules/user/user.js";
|
|
41
|
+
import { default as Pe } from "./molecules/key-value-pairs/key-value-pairs.js";
|
|
42
|
+
import { default as We } from "./molecules/loading/loading.js";
|
|
43
|
+
import { default as Ee } from "./molecules/error/error.js";
|
|
44
|
+
import { default as ve } from "./molecules/keywords/keywords.js";
|
|
45
|
+
import { default as De } from "./molecules/policies/privacy-policy/privacy-policy.js";
|
|
46
|
+
import { default as Ke } from "./molecules/policies/terms-of-use/terms-of-use.js";
|
|
47
|
+
import { default as Ue } from "./molecules/radio-group/radio-group.js";
|
|
48
|
+
import { default as Ne } from "./molecules/carousel/carousel.js";
|
|
49
|
+
import { default as je } from "./molecules/venn-diagram/venn-diagram.js";
|
|
49
50
|
import "react/jsx-runtime";
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { T as
|
|
51
|
+
import { default as Xe } from "./organisms/bento/bento.js";
|
|
52
|
+
import { default as Ze } from "./organisms/listicle/listicle.js";
|
|
53
|
+
import { default as $e } from "./organisms/login/login.js";
|
|
54
|
+
import { default as aa } from "./organisms/registration/registration.js";
|
|
55
|
+
import { default as oa } from "./organisms/branch/branch.js";
|
|
56
|
+
import { default as fa } from "./organisms/branches/branches.js";
|
|
57
|
+
import { default as sa } from "./organisms/charts/chart/chart.js";
|
|
58
|
+
import { default as ma } from "./organisms/metrics/metrics.js";
|
|
59
|
+
import { default as ua } from "./organisms/animation/reverse-text-animation/reverse-text-animation.js";
|
|
60
|
+
import { default as ia } from "./organisms/survey/question/edit/edit-title-input.js";
|
|
61
|
+
import { default as Ta } from "./organisms/survey/question/edit/edit-question.js";
|
|
62
|
+
import { default as ga } from "./organisms/survey/question/take/multiple-choice.js";
|
|
63
|
+
import { default as Ha } from "./organisms/survey/question/take/take-answer-input.js";
|
|
64
|
+
import { default as La } from "./organisms/survey/question/edit/answer-input.js";
|
|
65
|
+
import { default as ha } from "./organisms/survey/question/take/question.js";
|
|
66
|
+
import { default as Ba } from "./organisms/actors/actor/actor.js";
|
|
67
|
+
import { default as Ga } from "./organisms/stage/stage.js";
|
|
68
|
+
import { default as Sa } from "./organisms/actors/party/hunter/hunter.js";
|
|
69
|
+
import { default as Pa } from "./organisms/actors/party/warrior/warrior.js";
|
|
70
|
+
import { default as Wa } from "./organisms/actors/party/cleric/cleric.js";
|
|
71
|
+
import { default as Ea } from "./organisms/actors/party/wizard/wizard.js";
|
|
72
|
+
import { default as va } from "./organisms/actors/wisp/wisp.js";
|
|
73
|
+
import { default as Da } from "./organisms/masonry/masonry.js";
|
|
74
|
+
import { default as Ka } from "./templates/home/home.js";
|
|
75
|
+
import { default as Ua } from "./templates/home/headwinds/headwinds-home.js";
|
|
76
|
+
import { default as Na } from "./templates/articles/article/article.js";
|
|
77
|
+
import { default as ja } from "./pages/home/headwinds/home.js";
|
|
78
|
+
import { default as Xa } from "./pages/home/home.js";
|
|
79
|
+
import { default as Za } from "./atoms/link/link.js";
|
|
80
|
+
import { T as $a, a as er, d as ar, b as rr, c as or } from "../table-data-BnRZ5F7y.js";
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
Ba as Actor,
|
|
82
83
|
X as AnimateNumber,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
fe as AnimatedColumn,
|
|
85
|
+
La as AnswerInput,
|
|
86
|
+
Na as ArticleTemplate,
|
|
87
|
+
Xe as Bento,
|
|
87
88
|
K as Bold,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
Ge as Bolt,
|
|
90
|
+
oa as Branch,
|
|
91
|
+
fa as Branches,
|
|
91
92
|
T as Button,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
he as Card,
|
|
94
|
+
Ne as Carousel,
|
|
95
|
+
sa as Chart,
|
|
95
96
|
u as Checkbox,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
se as CheckboxLabel,
|
|
98
|
+
ae as Circle,
|
|
99
|
+
Wa as Cleric,
|
|
99
100
|
m as Column,
|
|
100
101
|
f as CrossCountryLogo,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
Ta as EditQuestion,
|
|
103
|
+
ia as EditTitleInput,
|
|
104
|
+
Ee as Error,
|
|
105
|
+
S as Form,
|
|
106
|
+
Be as GoldLeaf,
|
|
106
107
|
s as Grid,
|
|
107
|
-
|
|
108
|
+
oe as Group,
|
|
108
109
|
h as Headline,
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
ja as HeadwindsHomePage,
|
|
111
|
+
Ua as HeadwindsHomeTemplate,
|
|
111
112
|
o as HeadwindsLogo,
|
|
112
113
|
D as Hilight,
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
Xa as HomePage,
|
|
115
|
+
Ka as HomeTemplate,
|
|
115
116
|
L as HorizontalLine,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
Sa as Hunter,
|
|
118
|
+
H as Image,
|
|
119
|
+
ie as JsonMapTileGrid,
|
|
120
|
+
Pe as KeyValuePairs,
|
|
121
|
+
ve as Keywords,
|
|
121
122
|
U as Label,
|
|
122
|
-
|
|
123
|
+
Za as Link,
|
|
123
124
|
N as List,
|
|
124
125
|
j as ListItem,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
Ze as Listicle,
|
|
127
|
+
We as Loading,
|
|
128
|
+
$e as Login,
|
|
129
|
+
Da as Masonry,
|
|
130
|
+
ma as Metrics,
|
|
131
|
+
ge as Modal,
|
|
132
|
+
ga as MultipleChoice,
|
|
132
133
|
G as Paragraph,
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
De as PrivacyPolicy,
|
|
135
|
+
ha as Question,
|
|
135
136
|
i as Radio,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
Ue as RadioGroup,
|
|
138
|
+
aa as Registration,
|
|
139
|
+
Le as RelatedArticles,
|
|
140
|
+
ua as ReverseTextAnimation,
|
|
140
141
|
g as Row,
|
|
141
|
-
|
|
142
|
+
$ as SVG,
|
|
143
|
+
Z as ScrambleText,
|
|
142
144
|
v as Select,
|
|
143
145
|
E as Span,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
+
Ga as Stage,
|
|
147
|
+
He as Stagger,
|
|
146
148
|
B as SubHeadline,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
$a as Table,
|
|
150
|
+
er as TableBody,
|
|
151
|
+
ar as TableData,
|
|
152
|
+
rr as TableHead,
|
|
153
|
+
or as TableRow,
|
|
154
|
+
Ha as TakeAnswerInput,
|
|
155
|
+
Ke as TermsOfUse,
|
|
154
156
|
W as TextArea,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
P as TextInput,
|
|
158
|
+
ne as Tile,
|
|
159
|
+
Te as TileGrid,
|
|
160
|
+
Se as User,
|
|
161
|
+
je as VennDiagram,
|
|
162
|
+
ue as Wallpaper,
|
|
163
|
+
Pa as Warrior,
|
|
164
|
+
va as Wisp,
|
|
165
|
+
Ea as Wizard,
|
|
166
|
+
me as Wrapper
|
|
165
167
|
};
|
package/dist/components/molecules/animated/animated-column/__tests__/animated-column.test.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { r as t } from "../../../../../react.esm-
|
|
3
|
-
import { u as n } from "../../../../../react-spring_web.modern-
|
|
2
|
+
import { r as t } from "../../../../../react.esm-BKPSTSo2.js";
|
|
3
|
+
import { u as n } from "../../../../../react-spring_web.modern-C8ckweT7.js";
|
|
4
4
|
import o from "../animated-column.js";
|
|
5
5
|
jest.mock("@react-spring/web", () => ({
|
|
6
6
|
useSpring: jest.fn(),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { u as p, a as n } from "../../../../react-spring_web.modern-
|
|
2
|
+
import { u as p, a as n } from "../../../../react-spring_web.modern-C8ckweT7.js";
|
|
3
3
|
import e from "../../../atoms/column/column.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../../atoms/row/row.js";
|
|
6
6
|
import "../../../atoms/group/group.js";
|
|
7
7
|
import "../../wrapper/wrapper.js";
|
|
8
8
|
import "../../wallpaper/wallpaper.js";
|
|
9
|
-
import "../../../../index-
|
|
9
|
+
import "../../../../index-BoPmlL_S.js";
|
|
10
10
|
import "../../../organisms/registration/registration-machine.js";
|
|
11
11
|
import "../../../../transform-CAFMLvzX.js";
|
|
12
12
|
import "../../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
@@ -7,11 +7,11 @@ import u from "../../../atoms/image/image.js";
|
|
|
7
7
|
import e from "../../../atoms/text/paragraph/paragraph.js";
|
|
8
8
|
import b from "../../../atoms/text/label/label.js";
|
|
9
9
|
import "react";
|
|
10
|
-
import "../../../../react-spring_web.modern-
|
|
10
|
+
import "../../../../react-spring_web.modern-C8ckweT7.js";
|
|
11
11
|
import "../../../atoms/group/group.js";
|
|
12
12
|
import "../../wrapper/wrapper.js";
|
|
13
13
|
import "../../wallpaper/wallpaper.js";
|
|
14
|
-
import "../../../../index-
|
|
14
|
+
import "../../../../index-BoPmlL_S.js";
|
|
15
15
|
import "../../../organisms/registration/registration-machine.js";
|
|
16
16
|
import "../../../../transform-CAFMLvzX.js";
|
|
17
17
|
import "../../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
@@ -3,11 +3,11 @@ import e from "../../../atoms/column/column.js";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../../atoms/row/row.js";
|
|
5
5
|
import s from "../../../atoms/text/paragraph/paragraph.js";
|
|
6
|
-
import "../../../../react-spring_web.modern-
|
|
6
|
+
import "../../../../react-spring_web.modern-C8ckweT7.js";
|
|
7
7
|
import "../../../atoms/group/group.js";
|
|
8
8
|
import "../../wrapper/wrapper.js";
|
|
9
9
|
import "../../wallpaper/wallpaper.js";
|
|
10
|
-
import "../../../../index-
|
|
10
|
+
import "../../../../index-BoPmlL_S.js";
|
|
11
11
|
import "../../../organisms/registration/registration-machine.js";
|
|
12
12
|
import "../../../../transform-CAFMLvzX.js";
|
|
13
13
|
import m from "../../../organisms/survey/question/edit/answer-input.js";
|
|
@@ -3,11 +3,11 @@ import s from "../../atoms/column/column.js";
|
|
|
3
3
|
import { c } from "../../../clsx.m-BMVuQnLY.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../atoms/row/row.js";
|
|
6
|
-
import "../../../react-spring_web.modern-
|
|
6
|
+
import "../../../react-spring_web.modern-C8ckweT7.js";
|
|
7
7
|
import "../../atoms/group/group.js";
|
|
8
8
|
import "../wrapper/wrapper.js";
|
|
9
9
|
import "../wallpaper/wallpaper.js";
|
|
10
|
-
import "../../../index-
|
|
10
|
+
import "../../../index-BoPmlL_S.js";
|
|
11
11
|
import "../../organisms/registration/registration-machine.js";
|
|
12
12
|
import "../../../transform-CAFMLvzX.js";
|
|
13
13
|
import "../../organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|