@simpli-route/apollo-ds 0.0.21 → 0.0.22
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/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/types.d.ts +6 -0
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es12.js +22 -173
- package/dist/index.es13.js +150 -20
- package/dist/index.es14.js +27 -76
- package/dist/index.es15.js +87 -17
- package/dist/index.es16.js +22 -22
- package/dist/index.es18.js +19 -131
- package/dist/index.es19.js +20 -19
- package/dist/index.es2.js +25 -16
- package/dist/index.es20.js +129 -18
- package/dist/index.es3.js +3 -3
- package/dist/index.es4.js +1 -1
- package/dist/index.es5.js +12 -12
- package/dist/index.es7.js +3 -3
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/stories/Accordion.stories.d.ts +3 -2
- package/dist/style.css +3 -0
- package/package.json +1 -1
package/dist/index.es3.js
CHANGED
|
@@ -2,12 +2,12 @@ import { j as s } from "./index.es10.js";
|
|
|
2
2
|
import { Button as I } from "react-aria-components";
|
|
3
3
|
import { cn as x } from "./index.es11.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { buttonVariants as B } from "./index.
|
|
6
|
-
import "./index.
|
|
5
|
+
import { buttonVariants as B } from "./index.es13.js";
|
|
6
|
+
import "./index.es14.js";
|
|
7
7
|
import "./index.es5.js";
|
|
8
8
|
import { Loader as y } from "./index.es6.js";
|
|
9
|
-
import "./index.es14.js";
|
|
10
9
|
import "./index.es15.js";
|
|
10
|
+
import "./index.es16.js";
|
|
11
11
|
const j = ({
|
|
12
12
|
renderPosition: t,
|
|
13
13
|
leftIcon: m,
|
package/dist/index.es4.js
CHANGED
|
@@ -2,7 +2,7 @@ import { j as e } from "./index.es10.js";
|
|
|
2
2
|
import { Checkbox as h } from "react-aria-components";
|
|
3
3
|
import { cn as m } from "./index.es11.js";
|
|
4
4
|
import { MarkIcon as i } from "./index.es17.js";
|
|
5
|
-
import { checkboxVariants as j } from "./index.
|
|
5
|
+
import { checkboxVariants as j } from "./index.es14.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
isIndeterminate: x = !1,
|
|
8
8
|
isDisabled: a = !1,
|
package/dist/index.es5.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as s } from "./index.es10.js";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useContextProps as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { buttonVariants as
|
|
6
|
-
function
|
|
7
|
-
const [c, a] =
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import { useContextProps as j, ButtonContext as B, Button as w } from "react-aria-components";
|
|
4
|
+
import { cn as C } from "./index.es11.js";
|
|
5
|
+
import { buttonVariants as N } from "./index.es20.js";
|
|
6
|
+
function g(r, i) {
|
|
7
|
+
const [c, a] = j(r, i, B), {
|
|
8
8
|
intent: m = "secondary",
|
|
9
9
|
size: f = "lg",
|
|
10
10
|
isDisabled: o = !1,
|
|
@@ -14,17 +14,17 @@ function v(r, i) {
|
|
|
14
14
|
...u
|
|
15
15
|
} = c, n = "flex h-full items-center overflow-hidden whitespace-nowrap";
|
|
16
16
|
return /* @__PURE__ */ s.jsx(
|
|
17
|
-
|
|
17
|
+
w,
|
|
18
18
|
{
|
|
19
19
|
ref: a,
|
|
20
|
-
className: ({ isPressed: e, isHovered: d, isFocusVisible: x
|
|
21
|
-
|
|
20
|
+
className: ({ isPressed: e, isHovered: d, isFocusVisible: x }) => C(
|
|
21
|
+
N({
|
|
22
22
|
intent: m,
|
|
23
23
|
size: f,
|
|
24
24
|
isDisabled: o,
|
|
25
25
|
isActive: l || e,
|
|
26
26
|
isHovered: d,
|
|
27
|
-
isFocused: x
|
|
27
|
+
isFocused: x
|
|
28
28
|
}),
|
|
29
29
|
p
|
|
30
30
|
),
|
|
@@ -34,7 +34,7 @@ function v(r, i) {
|
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const A = h(g);
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
A as IconButton
|
|
40
40
|
};
|
package/dist/index.es7.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./index.es10.js";
|
|
2
2
|
import { Switch as u } from "react-aria-components";
|
|
3
3
|
import { cn as c } from "./index.es11.js";
|
|
4
|
-
import { ContentSwitch as L } from "./index.
|
|
5
|
-
import { SwitchIndicator as v } from "./index.
|
|
6
|
-
import { switchVariants as b } from "./index.
|
|
4
|
+
import { ContentSwitch as L } from "./index.es18.js";
|
|
5
|
+
import { SwitchIndicator as v } from "./index.es19.js";
|
|
6
|
+
import { switchVariants as b } from "./index.es15.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
children: f,
|
|
9
9
|
label: m,
|
package/dist/index.es8.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es10.js";
|
|
2
2
|
import { cn as n } from "./index.es11.js";
|
|
3
|
-
import { textVariants as a } from "./index.
|
|
3
|
+
import { textVariants as a } from "./index.es16.js";
|
|
4
4
|
function x(t) {
|
|
5
5
|
const { children: s, type: o = "body", className: r } = t, e = n(a({ type: o }), r);
|
|
6
6
|
return /* @__PURE__ */ m.jsx("p", { className: e, children: s });
|
package/dist/index.es9.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es10.js";
|
|
2
2
|
import { cn as c } from "./index.es11.js";
|
|
3
|
-
import { titleVariants as l } from "./index.
|
|
3
|
+
import { titleVariants as l } from "./index.es16.js";
|
|
4
4
|
function j(s) {
|
|
5
5
|
const { children: e, type: t = "h1", size: r = t, className: i, ...o } = s, n = t, a = c(l({ size: r }), i);
|
|
6
6
|
return /* @__PURE__ */ m.jsx(n, { className: a, ...o, children: e });
|
|
@@ -2,9 +2,10 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ items, accordionClassName, itemClassName, sectionClassName, hasIcon }: import('../components').AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: ({ items, accordionClassName, itemClassName, sectionClassName, hasIcon, allowMultipleOpen, }: import('../components').AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
9
9
|
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const AllowMultipleOpen: Story;
|
package/dist/style.css
CHANGED
|
@@ -1381,6 +1381,9 @@ select {
|
|
|
1381
1381
|
--tw-blur: blur(8px);
|
|
1382
1382
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1383
1383
|
}
|
|
1384
|
+
.filter {
|
|
1385
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1386
|
+
}
|
|
1384
1387
|
.transition {
|
|
1385
1388
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
1386
1389
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|