@simpli-route/apollo-ds 0.0.12 → 0.0.13
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/Checkbox/Checkbox.d.ts +7 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/MarkIcon.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/types.d.ts +24 -0
- package/dist/components/Checkbox/variants.d.ts +7 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- 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.cjs17.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 -9
- package/dist/index.cjs21.js +1 -19
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +9 -1
- package/dist/index.cjs24.js +19 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -0
- package/dist/index.cjs29.js +1 -0
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs30.js +1 -0
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs6.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.d.ts +1 -0
- package/dist/index.es.js +12 -10
- package/dist/index.es10.js +6 -6
- package/dist/index.es11.js +6 -22
- package/dist/index.es12.js +10 -15
- package/dist/index.es13.js +10 -20
- package/dist/index.es14.js +20 -81
- package/dist/index.es15.js +28 -20
- package/dist/index.es16.js +38 -10
- package/dist/index.es17.js +21 -9
- package/dist/index.es18.js +15 -31
- package/dist/index.es19.js +20 -2
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +91 -29
- package/dist/index.es21.js +22 -599
- package/dist/index.es22.js +2 -5
- package/dist/index.es23.js +29 -172
- package/dist/index.es24.js +599 -2
- package/dist/index.es25.js +5 -2
- package/dist/index.es26.js +173 -21
- package/dist/index.es27.js +2 -21
- package/dist/index.es28.js +4 -0
- package/dist/index.es29.js +23 -0
- package/dist/index.es3.js +24 -23
- package/dist/index.es30.js +23 -0
- package/dist/index.es4.js +46 -48
- package/dist/index.es5.js +45 -65
- package/dist/index.es6.js +70 -8
- package/dist/index.es7.js +7 -7
- package/dist/index.es8.js +8 -33
- package/dist/index.es9.js +33 -6
- package/dist/stories/Checkbox.stories.d.ts +17 -0
- package/dist/stories/Switch.stories.d.ts +2 -0
- package/dist/style.css +32 -0
- package/package.json +2 -2
package/dist/index.es23.js
CHANGED
|
@@ -1,175 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
isHovered: {
|
|
28
|
-
true: ""
|
|
29
|
-
},
|
|
30
|
-
isActive: {
|
|
31
|
-
true: ""
|
|
32
|
-
},
|
|
33
|
-
fullWidth: {
|
|
34
|
-
true: "w-full",
|
|
35
|
-
false: "w-fit"
|
|
36
|
-
},
|
|
37
|
-
isLoading: {
|
|
38
|
-
true: "pointer-events-none cursor-not-allowed opacity-70"
|
|
39
|
-
},
|
|
40
|
-
isFocused: {
|
|
41
|
-
true: "focus:outline-none focus:ring-2 focus:ring-sky-400 focus:ring-offset-[0.4px] border-none",
|
|
42
|
-
false: ""
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
defaultVariants: {
|
|
46
|
-
intent: "primary",
|
|
47
|
-
size: "md"
|
|
48
|
-
},
|
|
49
|
-
compoundVariants: [
|
|
50
|
-
/* Hover State */
|
|
51
|
-
{
|
|
52
|
-
intent: "primary",
|
|
53
|
-
isHovered: !0,
|
|
54
|
-
class: "bg-primary-700"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
intent: "secondary",
|
|
58
|
-
isHovered: !0,
|
|
59
|
-
class: "bg-primary-200"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
intent: "tertiary",
|
|
63
|
-
isHovered: !0,
|
|
64
|
-
class: "bg-primary-300 text-primary-800"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
intent: "outline",
|
|
68
|
-
isHovered: !0,
|
|
69
|
-
class: "bg-primary-500 text-primary-50"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
intent: "success",
|
|
73
|
-
isHovered: !0,
|
|
74
|
-
class: "bg-success-700 text-neutral-50"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
intent: "error",
|
|
78
|
-
isHovered: !0,
|
|
79
|
-
class: "bg-error-700 text-error-50"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
intent: "orangeWarning",
|
|
83
|
-
isHovered: !0,
|
|
84
|
-
class: "bg-orange-warning-700 text-orange-warning-50"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
intent: "yellowWarning",
|
|
88
|
-
isHovered: !0,
|
|
89
|
-
class: "bg-yellow-warning-700 text-neutral-50"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
intent: "info",
|
|
93
|
-
isHovered: !0,
|
|
94
|
-
class: "bg-blue-700 text-blue-50"
|
|
95
|
-
},
|
|
96
|
-
/* /Focus State */
|
|
97
|
-
{
|
|
98
|
-
intent: "success",
|
|
99
|
-
isFocused: !0,
|
|
100
|
-
class: "border-[1.5px] focus:ring-success-500"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
intent: "error",
|
|
104
|
-
isFocused: !0,
|
|
105
|
-
class: "border-[1.5px] focus:ring-error-500"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
intent: "orangeWarning",
|
|
109
|
-
isFocused: !0,
|
|
110
|
-
class: "border-[1.5px] focus:ring-orange-500"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
intent: "yellowWarning",
|
|
114
|
-
isFocused: !0,
|
|
115
|
-
class: "border-[1.5px] focus:ring-yellow-500"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
intent: "info",
|
|
119
|
-
isFocused: !0,
|
|
120
|
-
class: "border-[1.5px] focus:ring-blue-500"
|
|
121
|
-
},
|
|
122
|
-
/* Active State */
|
|
123
|
-
{
|
|
124
|
-
intent: "primary",
|
|
125
|
-
isActive: !0,
|
|
126
|
-
class: "bg-primary-900"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
intent: "secondary",
|
|
130
|
-
isActive: !0,
|
|
131
|
-
class: "bg-primary-300"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
intent: "tertiary",
|
|
135
|
-
isActive: !0,
|
|
136
|
-
class: "bg-primary-500 text-white"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
intent: "outline",
|
|
140
|
-
isActive: !0,
|
|
141
|
-
class: "border border-primary-500 bg-primary-300 text-primary-500"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
intent: "success",
|
|
145
|
-
isActive: !0,
|
|
146
|
-
class: "border border-transparent bg-success-300 text-success-900"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
intent: "error",
|
|
150
|
-
isActive: !0,
|
|
151
|
-
class: "border border-transparent bg-error-300 text-error-900"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
intent: "orangeWarning",
|
|
155
|
-
isActive: !0,
|
|
156
|
-
class: "border border-transparent bg-orange-warning-300 text-orange-warning-900"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
intent: "yellowWarning",
|
|
160
|
-
isActive: !0,
|
|
161
|
-
class: "border border-transparent bg-yellow-warning-300 text-[#6F5711]"
|
|
162
|
-
//TODO: Este color yellow-warning-900 esta mal en @simpli-route/tailwind-preset, debe borrarse la 'h' al final del color
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
intent: "info",
|
|
166
|
-
isActive: !0,
|
|
167
|
-
class: "border border-transparent bg-blue-200 text-blue-900"
|
|
168
|
-
}
|
|
169
|
-
/* /Active State */
|
|
170
|
-
]
|
|
1
|
+
import { __exports as t } from "./index.es27.js";
|
|
2
|
+
import R from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var p;
|
|
13
|
+
function v() {
|
|
14
|
+
if (p)
|
|
15
|
+
return t;
|
|
16
|
+
p = 1;
|
|
17
|
+
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function i(o, r, u) {
|
|
19
|
+
var e, n = {}, _ = null, f = null;
|
|
20
|
+
u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
21
|
+
for (e in r)
|
|
22
|
+
c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
|
|
23
|
+
if (o && o.defaultProps)
|
|
24
|
+
for (e in r = o.defaultProps, r)
|
|
25
|
+
n[e] === void 0 && (n[e] = r[e]);
|
|
26
|
+
return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: d.current };
|
|
171
27
|
}
|
|
172
|
-
|
|
28
|
+
return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
|
|
29
|
+
}
|
|
173
30
|
export {
|
|
174
|
-
|
|
31
|
+
v as __require
|
|
175
32
|
};
|