amotify 0.3.32 → 0.3.34
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/UI_MAP.md +8 -6
- package/demo/esbuild/designBook.tsx +6 -7
- package/demo/next/package.json +2 -2
- package/dist/@declares/index.d.ts +2 -5
- package/dist/@declares/property.d.ts +2 -2
- package/dist/@styles/style.css +1 -1
- package/dist/@styles/style.js +1 -1
- package/dist/@styles/var.css +1 -1
- package/dist/@utils/$color.d.ts +108 -0
- package/dist/@utils/$color.js +1 -0
- package/dist/@utils/$themecolor.d.ts +108 -0
- package/dist/@utils/$themecolor.js +1 -0
- package/dist/@utils/config.d.ts +5 -4
- package/dist/@utils/config.js +1 -1
- package/dist/@utils/index.d.ts +1 -1
- package/dist/@utils/index.js +1 -1
- package/dist/fn/Input/Color.d.ts +2 -2
- package/dist/fn/Input/Color.js +1 -1
- package/dist/fn/Input/Slider.d.ts +4 -2
- package/dist/fn/Input/Slider.js +1 -1
- package/dist/fn/Input/Switch.d.ts +3 -2
- package/dist/fn/Input/Switch.js +1 -1
- package/dist/index.d.ts +1 -339
- package/dist/mols/Row.d.ts +12 -0
- package/dist/mols/Row.js +1 -1
- package/package.json +2 -2
- package/dist/@utils/color.d.ts +0 -16
- package/dist/@utils/color.js +0 -1
package/dist/fn/Input/Switch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o,c as s,d as T}from"../../chunk-C5N2D3ZX.js";import{jsx as a,jsxs as k}from"react/jsx-runtime";import{UUID as b}from"jmini";import{useState as E}from"react";import h from"../../atoms/Box";import{Row as L}from"../../mols";import{Label as U}from"../Trigger";import{OptionalInputWrapper as P,BoxWrapper as W,CoreEffects as B}from"./core";import{InputSwitchClasses as g}from"../../@styles/componentClasses";function A(e){let{value:n,states:l}=e,{required:S}=l,r=[];return S&&!n&&r.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!r.filter(({type:I})=>I=="invalid").length,notice:r}}const O=e=>{let V=e,{componentId:n,color:l="posi",required:S,form:r,id:I,enableFormSubmit:M,showInitValidation:_,onChange:R,onKeyDown:F,onValidate:H,onValidateDelay:q,
|
|
1
|
+
import{b as o,c as s,d as T}from"../../chunk-C5N2D3ZX.js";import{jsx as a,jsxs as k}from"react/jsx-runtime";import{UUID as b}from"jmini";import{useState as E}from"react";import h from"../../atoms/Box";import{Row as L}from"../../mols";import{Label as U}from"../Trigger";import{OptionalInputWrapper as P,BoxWrapper as W,CoreEffects as B}from"./core";import{InputSwitchClasses as g}from"../../@styles/componentClasses";function A(e){let{value:n,states:l}=e,{required:S}=l,r=[];return S&&!n&&r.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!r.filter(({type:I})=>I=="invalid").length,notice:r}}const O=e=>{let V=e,{componentId:n,color:l="posi",required:S,form:r,id:I,enableFormSubmit:M,showInitValidation:_,onChange:R,onKeyDown:F,onValidate:H,onValidateDelay:$,onUpdateValue:q,onUpdateValidValue:K,onUserAction:j,size:C="regular",value:N="",icon:v="",isApply:p=!1}=V,t=T(V,["componentId","color","required","form","id","enableFormSubmit","showInitValidation","onChange","onKeyDown","onValidate","onValidateDelay","onUpdateValue","onUpdateValidValue","onUserAction","size","value","icon","isApply"]),[c,u]=E({componentId:e.componentId||"",rawValue:N,eventType:"init",eventID:b(12)}),d=!!c.rawValue;B.CommonEffects({type:"switch",states:e,val_status:c,set_status:u,SystemValidation:A});let f="middle",x=5,y=3;return p&&(y=4),k(W,{val_status:c,set_status:u,states:e,children:[a(h,s(o({htmlTag:"input",type:"checkbox","data-component-id":c.componentId,checked:c.rawValue,className:g("Input"),id:I,onKeyDown:i=>{F&&F(i),M&&B.SubmitForm(i,r)},onChange:i=>{let{checked:m}=i.target;u(z=>s(o({},z),{rawValue:m,eventType:"update",eventID:b(12),isInspected:!1,isValidated:!1,notice:[]})),R&&R(i)}},t),{onFocus:i=>{t!=null&&t.onFocus&&(t==null||t.onFocus(i)),u(m=>s(o({},m),{eventID:b(12),isFocusing:!0}))},onBlur:i=>{t!=null&&t.onBlur&&(t==null||t.onBlur(i)),u(m=>s(o({},m),{eventID:b(12),isFocusing:!1}))}})),a(U.Plain,{tabIndex:-1,htmlFor:I,padding:"1/4",transition:f,borderRadius:"1.tone.primary",className:g("Label"),children:a(h,s(o({},p?{padding:"1/4",isRounded:!0,backgroundColor:d?l:"layer.3"}:{}),{children:k(L.Center,{unitHeight:C=="small"?2:C=="regular"?2.5:C=="large"?3:0,position:"relative",xcss:{aspectRatio:(x+y)/x},children:[!p&&a(h,{position:"absolute",backgroundColor:d?l:"layer.5",isRounded:!0,transition:f,width:1,opacity:"middle",className:g("Bar"),xcss:{height:"40%"}}),a(h,{position:"absolute",top:0,backgroundColor:!p&&d?l:"white",transition:f,isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:g("Dot"),xcss:{height:"100%",aspectRatio:"1",left:d?`calc(${y.toRate(x+y)}%)`:0},children:v&&a(h,{transition:f,flexCenter:!0,fontColor:d?p?l:"white":"6.clear",children:v})})]})}))})]})},w=e=>{let n=o({},e);return n.value=!!n.value,n.color=n.color||"theme",a(P,{componentId:n.componentId,children:O,states:n})},D=Object.assign(w,{S:e=>a(w,s(o({},e),{size:"small"})),R:e=>a(w,s(o({},e),{size:"regular"})),L:e=>a(w,s(o({},e),{size:"large"}))});export{D as Switch,D as default};
|
package/dist/index.d.ts
CHANGED
|
@@ -79,345 +79,7 @@ declare const amotify: {
|
|
|
79
79
|
}) => void;
|
|
80
80
|
useUpdateEffect: (effect: () => void | (() => void), deps: any[]) => void;
|
|
81
81
|
pageRouter: utils.pageRouter.Methods;
|
|
82
|
-
|
|
83
|
-
key: utils.Themecolor;
|
|
84
|
-
safeName?: string | undefined;
|
|
85
|
-
isBrand?: true | undefined;
|
|
86
|
-
hex: string;
|
|
87
|
-
}[];
|
|
88
|
-
SetThemeColorTag: () => void;
|
|
89
|
-
ThemeColors: {
|
|
90
|
-
comun: {
|
|
91
|
-
alfa(alfa?: number | undefined): string;
|
|
92
|
-
hex: string;
|
|
93
|
-
isBrand?: true | undefined;
|
|
94
|
-
};
|
|
95
|
-
leaf: {
|
|
96
|
-
alfa(alfa?: number | undefined): string;
|
|
97
|
-
hex: string;
|
|
98
|
-
isBrand?: true | undefined;
|
|
99
|
-
};
|
|
100
|
-
heart: {
|
|
101
|
-
alfa(alfa?: number | undefined): string;
|
|
102
|
-
hex: string;
|
|
103
|
-
isBrand?: true | undefined;
|
|
104
|
-
};
|
|
105
|
-
droplet: {
|
|
106
|
-
alfa(alfa?: number | undefined): string;
|
|
107
|
-
hex: string;
|
|
108
|
-
isBrand?: true | undefined;
|
|
109
|
-
};
|
|
110
|
-
brick: {
|
|
111
|
-
alfa(alfa?: number | undefined): string;
|
|
112
|
-
hex: string;
|
|
113
|
-
isBrand?: true | undefined;
|
|
114
|
-
};
|
|
115
|
-
flower: {
|
|
116
|
-
alfa(alfa?: number | undefined): string;
|
|
117
|
-
hex: string;
|
|
118
|
-
isBrand?: true | undefined;
|
|
119
|
-
};
|
|
120
|
-
lip: {
|
|
121
|
-
alfa(alfa?: number | undefined): string;
|
|
122
|
-
hex: string;
|
|
123
|
-
isBrand?: true | undefined;
|
|
124
|
-
};
|
|
125
|
-
wine: {
|
|
126
|
-
alfa(alfa?: number | undefined): string;
|
|
127
|
-
hex: string;
|
|
128
|
-
isBrand?: true | undefined;
|
|
129
|
-
};
|
|
130
|
-
theater: {
|
|
131
|
-
alfa(alfa?: number | undefined): string;
|
|
132
|
-
hex: string;
|
|
133
|
-
isBrand?: true | undefined;
|
|
134
|
-
};
|
|
135
|
-
bat: {
|
|
136
|
-
alfa(alfa?: number | undefined): string;
|
|
137
|
-
hex: string;
|
|
138
|
-
isBrand?: true | undefined;
|
|
139
|
-
};
|
|
140
|
-
poizon: {
|
|
141
|
-
alfa(alfa?: number | undefined): string;
|
|
142
|
-
hex: string;
|
|
143
|
-
isBrand?: true | undefined;
|
|
144
|
-
};
|
|
145
|
-
eggplant: {
|
|
146
|
-
alfa(alfa?: number | undefined): string;
|
|
147
|
-
hex: string;
|
|
148
|
-
isBrand?: true | undefined;
|
|
149
|
-
};
|
|
150
|
-
ufo: {
|
|
151
|
-
alfa(alfa?: number | undefined): string;
|
|
152
|
-
hex: string;
|
|
153
|
-
isBrand?: true | undefined;
|
|
154
|
-
};
|
|
155
|
-
alien: {
|
|
156
|
-
alfa(alfa?: number | undefined): string;
|
|
157
|
-
hex: string;
|
|
158
|
-
isBrand?: true | undefined;
|
|
159
|
-
};
|
|
160
|
-
tombstone: {
|
|
161
|
-
alfa(alfa?: number | undefined): string;
|
|
162
|
-
hex: string;
|
|
163
|
-
isBrand?: true | undefined;
|
|
164
|
-
};
|
|
165
|
-
ninja: {
|
|
166
|
-
alfa(alfa?: number | undefined): string;
|
|
167
|
-
hex: string;
|
|
168
|
-
isBrand?: true | undefined;
|
|
169
|
-
};
|
|
170
|
-
moon: {
|
|
171
|
-
alfa(alfa?: number | undefined): string;
|
|
172
|
-
hex: string;
|
|
173
|
-
isBrand?: true | undefined;
|
|
174
|
-
};
|
|
175
|
-
rain: {
|
|
176
|
-
alfa(alfa?: number | undefined): string;
|
|
177
|
-
hex: string;
|
|
178
|
-
isBrand?: true | undefined;
|
|
179
|
-
};
|
|
180
|
-
unicorn: {
|
|
181
|
-
alfa(alfa?: number | undefined): string;
|
|
182
|
-
hex: string;
|
|
183
|
-
isBrand?: true | undefined;
|
|
184
|
-
};
|
|
185
|
-
axe: {
|
|
186
|
-
alfa(alfa?: number | undefined): string;
|
|
187
|
-
hex: string;
|
|
188
|
-
isBrand?: true | undefined;
|
|
189
|
-
};
|
|
190
|
-
gem: {
|
|
191
|
-
alfa(alfa?: number | undefined): string;
|
|
192
|
-
hex: string;
|
|
193
|
-
isBrand?: true | undefined;
|
|
194
|
-
};
|
|
195
|
-
soap: {
|
|
196
|
-
alfa(alfa?: number | undefined): string;
|
|
197
|
-
hex: string;
|
|
198
|
-
isBrand?: true | undefined;
|
|
199
|
-
};
|
|
200
|
-
drizzle: {
|
|
201
|
-
alfa(alfa?: number | undefined): string;
|
|
202
|
-
hex: string;
|
|
203
|
-
isBrand?: true | undefined;
|
|
204
|
-
};
|
|
205
|
-
building: {
|
|
206
|
-
alfa(alfa?: number | undefined): string;
|
|
207
|
-
hex: string;
|
|
208
|
-
isBrand?: true | undefined;
|
|
209
|
-
};
|
|
210
|
-
fish: {
|
|
211
|
-
alfa(alfa?: number | undefined): string;
|
|
212
|
-
hex: string;
|
|
213
|
-
isBrand?: true | undefined;
|
|
214
|
-
};
|
|
215
|
-
icicles: {
|
|
216
|
-
alfa(alfa?: number | undefined): string;
|
|
217
|
-
hex: string;
|
|
218
|
-
isBrand?: true | undefined;
|
|
219
|
-
};
|
|
220
|
-
water: {
|
|
221
|
-
alfa(alfa?: number | undefined): string;
|
|
222
|
-
hex: string;
|
|
223
|
-
isBrand?: true | undefined;
|
|
224
|
-
};
|
|
225
|
-
tree1: {
|
|
226
|
-
alfa(alfa?: number | undefined): string;
|
|
227
|
-
hex: string;
|
|
228
|
-
isBrand?: true | undefined;
|
|
229
|
-
};
|
|
230
|
-
tree2: {
|
|
231
|
-
alfa(alfa?: number | undefined): string;
|
|
232
|
-
hex: string;
|
|
233
|
-
isBrand?: true | undefined;
|
|
234
|
-
};
|
|
235
|
-
tree3: {
|
|
236
|
-
alfa(alfa?: number | undefined): string;
|
|
237
|
-
hex: string;
|
|
238
|
-
isBrand?: true | undefined;
|
|
239
|
-
};
|
|
240
|
-
battery: {
|
|
241
|
-
alfa(alfa?: number | undefined): string;
|
|
242
|
-
hex: string;
|
|
243
|
-
isBrand?: true | undefined;
|
|
244
|
-
};
|
|
245
|
-
seedle: {
|
|
246
|
-
alfa(alfa?: number | undefined): string;
|
|
247
|
-
hex: string;
|
|
248
|
-
isBrand?: true | undefined;
|
|
249
|
-
};
|
|
250
|
-
greenTea: {
|
|
251
|
-
alfa(alfa?: number | undefined): string;
|
|
252
|
-
hex: string;
|
|
253
|
-
isBrand?: true | undefined;
|
|
254
|
-
};
|
|
255
|
-
oak: {
|
|
256
|
-
alfa(alfa?: number | undefined): string;
|
|
257
|
-
hex: string;
|
|
258
|
-
isBrand?: true | undefined;
|
|
259
|
-
};
|
|
260
|
-
salad: {
|
|
261
|
-
alfa(alfa?: number | undefined): string;
|
|
262
|
-
hex: string;
|
|
263
|
-
isBrand?: true | undefined;
|
|
264
|
-
};
|
|
265
|
-
cloudy: {
|
|
266
|
-
alfa(alfa?: number | undefined): string;
|
|
267
|
-
hex: string;
|
|
268
|
-
isBrand?: true | undefined;
|
|
269
|
-
};
|
|
270
|
-
lemon: {
|
|
271
|
-
alfa(alfa?: number | undefined): string;
|
|
272
|
-
hex: string;
|
|
273
|
-
isBrand?: true | undefined;
|
|
274
|
-
};
|
|
275
|
-
angel: {
|
|
276
|
-
alfa(alfa?: number | undefined): string;
|
|
277
|
-
hex: string;
|
|
278
|
-
isBrand?: true | undefined;
|
|
279
|
-
};
|
|
280
|
-
parasol: {
|
|
281
|
-
alfa(alfa?: number | undefined): string;
|
|
282
|
-
hex: string;
|
|
283
|
-
isBrand?: true | undefined;
|
|
284
|
-
};
|
|
285
|
-
pizza: {
|
|
286
|
-
alfa(alfa?: number | undefined): string;
|
|
287
|
-
hex: string;
|
|
288
|
-
isBrand?: true | undefined;
|
|
289
|
-
};
|
|
290
|
-
thunder: {
|
|
291
|
-
alfa(alfa?: number | undefined): string;
|
|
292
|
-
hex: string;
|
|
293
|
-
isBrand?: true | undefined;
|
|
294
|
-
};
|
|
295
|
-
latte: {
|
|
296
|
-
alfa(alfa?: number | undefined): string;
|
|
297
|
-
hex: string;
|
|
298
|
-
isBrand?: true | undefined;
|
|
299
|
-
};
|
|
300
|
-
island: {
|
|
301
|
-
alfa(alfa?: number | undefined): string;
|
|
302
|
-
hex: string;
|
|
303
|
-
isBrand?: true | undefined;
|
|
304
|
-
};
|
|
305
|
-
shovel: {
|
|
306
|
-
alfa(alfa?: number | undefined): string;
|
|
307
|
-
hex: string;
|
|
308
|
-
isBrand?: true | undefined;
|
|
309
|
-
};
|
|
310
|
-
coffee: {
|
|
311
|
-
alfa(alfa?: number | undefined): string;
|
|
312
|
-
hex: string;
|
|
313
|
-
isBrand?: true | undefined;
|
|
314
|
-
};
|
|
315
|
-
carrot: {
|
|
316
|
-
alfa(alfa?: number | undefined): string;
|
|
317
|
-
hex: string;
|
|
318
|
-
isBrand?: true | undefined;
|
|
319
|
-
};
|
|
320
|
-
cactus: {
|
|
321
|
-
alfa(alfa?: number | undefined): string;
|
|
322
|
-
hex: string;
|
|
323
|
-
isBrand?: true | undefined;
|
|
324
|
-
};
|
|
325
|
-
volcano: {
|
|
326
|
-
alfa(alfa?: number | undefined): string;
|
|
327
|
-
hex: string;
|
|
328
|
-
isBrand?: true | undefined;
|
|
329
|
-
};
|
|
330
|
-
choco: {
|
|
331
|
-
alfa(alfa?: number | undefined): string;
|
|
332
|
-
hex: string;
|
|
333
|
-
isBrand?: true | undefined;
|
|
334
|
-
};
|
|
335
|
-
industry: {
|
|
336
|
-
alfa(alfa?: number | undefined): string;
|
|
337
|
-
hex: string;
|
|
338
|
-
isBrand?: true | undefined;
|
|
339
|
-
};
|
|
340
|
-
gun: {
|
|
341
|
-
alfa(alfa?: number | undefined): string;
|
|
342
|
-
hex: string;
|
|
343
|
-
isBrand?: true | undefined;
|
|
344
|
-
};
|
|
345
|
-
galaxy: {
|
|
346
|
-
alfa(alfa?: number | undefined): string;
|
|
347
|
-
hex: string;
|
|
348
|
-
isBrand?: true | undefined;
|
|
349
|
-
};
|
|
350
|
-
line: {
|
|
351
|
-
alfa(alfa?: number | undefined): string;
|
|
352
|
-
hex: string;
|
|
353
|
-
isBrand?: true | undefined;
|
|
354
|
-
};
|
|
355
|
-
twitter: {
|
|
356
|
-
alfa(alfa?: number | undefined): string;
|
|
357
|
-
hex: string;
|
|
358
|
-
isBrand?: true | undefined;
|
|
359
|
-
};
|
|
360
|
-
amazon: {
|
|
361
|
-
alfa(alfa?: number | undefined): string;
|
|
362
|
-
hex: string;
|
|
363
|
-
isBrand?: true | undefined;
|
|
364
|
-
};
|
|
365
|
-
facebook: {
|
|
366
|
-
alfa(alfa?: number | undefined): string;
|
|
367
|
-
hex: string;
|
|
368
|
-
isBrand?: true | undefined;
|
|
369
|
-
};
|
|
370
|
-
android: {
|
|
371
|
-
alfa(alfa?: number | undefined): string;
|
|
372
|
-
hex: string;
|
|
373
|
-
isBrand?: true | undefined;
|
|
374
|
-
};
|
|
375
|
-
slackBlue: {
|
|
376
|
-
alfa(alfa?: number | undefined): string;
|
|
377
|
-
hex: string;
|
|
378
|
-
isBrand?: true | undefined;
|
|
379
|
-
};
|
|
380
|
-
slackGreen: {
|
|
381
|
-
alfa(alfa?: number | undefined): string;
|
|
382
|
-
hex: string;
|
|
383
|
-
isBrand?: true | undefined;
|
|
384
|
-
};
|
|
385
|
-
slackRed: {
|
|
386
|
-
alfa(alfa?: number | undefined): string;
|
|
387
|
-
hex: string;
|
|
388
|
-
isBrand?: true | undefined;
|
|
389
|
-
};
|
|
390
|
-
slackYellow: {
|
|
391
|
-
alfa(alfa?: number | undefined): string;
|
|
392
|
-
hex: string;
|
|
393
|
-
isBrand?: true | undefined;
|
|
394
|
-
};
|
|
395
|
-
slackBase: {
|
|
396
|
-
alfa(alfa?: number | undefined): string;
|
|
397
|
-
hex: string;
|
|
398
|
-
isBrand?: true | undefined;
|
|
399
|
-
};
|
|
400
|
-
googleBlue: {
|
|
401
|
-
alfa(alfa?: number | undefined): string;
|
|
402
|
-
hex: string;
|
|
403
|
-
isBrand?: true | undefined;
|
|
404
|
-
};
|
|
405
|
-
googleGreen: {
|
|
406
|
-
alfa(alfa?: number | undefined): string;
|
|
407
|
-
hex: string;
|
|
408
|
-
isBrand?: true | undefined;
|
|
409
|
-
};
|
|
410
|
-
googleYellow: {
|
|
411
|
-
alfa(alfa?: number | undefined): string;
|
|
412
|
-
hex: string;
|
|
413
|
-
isBrand?: true | undefined;
|
|
414
|
-
};
|
|
415
|
-
googleRed: {
|
|
416
|
-
alfa(alfa?: number | undefined): string;
|
|
417
|
-
hex: string;
|
|
418
|
-
isBrand?: true | undefined;
|
|
419
|
-
};
|
|
420
|
-
};
|
|
82
|
+
$themecolor: typeof utils.$themecolor;
|
|
421
83
|
ReadStyleSet: utils.ReadStyleSet<any>;
|
|
422
84
|
GenerateHTMLProps: utils.GenerateHTMLProps;
|
|
423
85
|
ExtractStyles: <T_2 = utils.StyleProps.BasicElement>(props: T_2) => [utils.StyleProps.States, T_2];
|
package/dist/mols/Row.d.ts
CHANGED
|
@@ -10,6 +10,18 @@ declare namespace Row {
|
|
|
10
10
|
Left: React.FC<Flex.Input>;
|
|
11
11
|
Right: React.FC<Flex.Input>;
|
|
12
12
|
Separate: React.FC<Flex.Input>;
|
|
13
|
+
/**
|
|
14
|
+
* left title component and right content component
|
|
15
|
+
* left ... 25% min default
|
|
16
|
+
*/
|
|
17
|
+
Description: React.FC<Flex.Input & {
|
|
18
|
+
label?: ReactElement;
|
|
19
|
+
onLabelRender?: (label: ReactElement) => ReactElement;
|
|
20
|
+
children: ReactElement;
|
|
21
|
+
onChildrenRender?: (children: ReactElement) => ReactElement;
|
|
22
|
+
labelStyles?: StyleProps.States;
|
|
23
|
+
childrenStyles?: StyleProps.States;
|
|
24
|
+
}>;
|
|
13
25
|
};
|
|
14
26
|
}
|
|
15
27
|
declare const Row: Row.Methods;
|
package/dist/mols/Row.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"../chunk-C5N2D3ZX.js";import{jsx as
|
|
1
|
+
import{b as t,c as n,d as p}from"../chunk-C5N2D3ZX.js";import{jsx as l,jsxs as S}from"react/jsx-runtime";import{Box as x,Flex as a}from"../atoms";import d from"./Literal";const o={Center:e=>l(a,t({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},e)),Left:e=>l(a,t({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},e)),Right:e=>l(a,t({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},e)),Separate:e=>l(a,t({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},e)),Description:e=>{let c=e,{label:s,labelStyles:r,onLabelRender:R=i=>l(d,n(t({flexSizing:"none",isSemiBoldFont:!0},r),{xcss:n(t({},r==null?void 0:r.xcss),{minWidth:"25%"}),children:i})),children:f,childrenStyles:m,onChildrenRender:g=i=>l(x,n(t({flexSizing:0},m),{children:i}))}=c,h=p(c,["label","labelStyles","onLabelRender","children","childrenStyles","onChildrenRender"]);return S(o.Left,n(t({UnderBreakPointStyles:{flexType:"col",gap:"1/2",horizontalAlign:"unset",verticalAlign:"unset"}},h),{children:[R(s),g(f)]}))}};export{o as Row,o as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amotify",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "UI Component for React,NextJS,esbuild",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "run-p clean build:*",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
91
91
|
"@fortawesome/react-fontawesome": "^3.3.0",
|
|
92
92
|
"dotenv": "^17.0.1",
|
|
93
|
-
"jmini": "^0.0.
|
|
93
|
+
"jmini": "^0.0.129",
|
|
94
94
|
"react": "^19.2.3"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
package/dist/@utils/color.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Themecolor } from '../@declares';
|
|
2
|
-
export declare const ColorRecords: {
|
|
3
|
-
key: Themecolor;
|
|
4
|
-
safeName?: string;
|
|
5
|
-
isBrand?: true;
|
|
6
|
-
hex: string;
|
|
7
|
-
}[];
|
|
8
|
-
export declare const SetThemeColorTag: () => void;
|
|
9
|
-
declare const ThemeColors: {
|
|
10
|
-
[key in Themecolor]: {
|
|
11
|
-
alfa(alfa?: number): string;
|
|
12
|
-
hex: string;
|
|
13
|
-
isBrand?: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export { ThemeColors };
|
package/dist/@utils/color.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunk-C5N2D3ZX.js";import x from"jmini";const y=[{key:"comun",hex:"#434BE5"},{key:"leaf",hex:"#15AC78"},{key:"heart",hex:"#ED5954"},{key:"droplet",hex:"#1C71E9"},{key:"brick",hex:"#B3142C"},{key:"flower",hex:"#F18E9E"},{key:"lip",hex:"#D32760"},{key:"wine",hex:"#6C2D5A"},{key:"theater",hex:"#EB0FE7"},{key:"bat",hex:"#380A61"},{key:"poizon",hex:"#7B36C9"},{key:"eggplant",hex:"#8B3DFF"},{key:"ufo",hex:"#633DEB"},{key:"alien",hex:"#542BF5"},{key:"tombstone",hex:"#ADA9BE"},{key:"ninja",hex:"#615CFF"},{key:"moon",hex:"#333347"},{key:"rain",hex:"#6464AF"},{key:"unicorn",hex:"#8E91EB"},{key:"axe",hex:"#464F6D"},{key:"gem",hex:"#104BCB"},{key:"soap",hex:"#0C4197"},{key:"drizzle",hex:"#92ABC8"},{key:"building",hex:"#B5B8BA"},{key:"fish",hex:"#0384AB"},{key:"icicles",hex:"#53BDD5"},{key:"water",hex:"#67A5AD"},{key:"tree1",hex:"#09636D"},{key:"tree2",hex:"#039DAB"},{key:"tree3",hex:"#07565A"},{key:"battery",hex:"#0ABD9F"},{key:"seedle",hex:"#06C656"},{key:"greenTea",hex:"#3C9660"},{key:"oak",hex:"#A1BD93"},{key:"salad",hex:"#B6D00B"},{key:"cloudy",hex:"#CCCCC7"},{key:"lemon",hex:"#EEE077"},{key:"angel",hex:"#FFC800"},{key:"parasol",hex:"#F4CD71"},{key:"pizza",hex:"#F5AA14"},{key:"thunder",hex:"#DEAB45"},{key:"latte",hex:"#DDBE97"},{key:"island",hex:"#F58224"},{key:"shovel",hex:"#7A5443"},{key:"coffee",hex:"#513529"},{key:"carrot",hex:"#EE683F"},{key:"cactus",hex:"#AF928E"},{key:"volcano",hex:"#E12814"},{key:"choco",hex:"#CE5955"},{key:"industry",hex:"#808080"},{key:"gun",hex:"#5E5E5E"},{key:"galaxy",hex:"#0D0D0D"},{key:"line",hex:"#00BD00",isBrand:!0},{key:"twitter",hex:"#189EF2",isBrand:!0},{key:"amazon",hex:"#FF9900",isBrand:!0},{key:"facebook",hex:"#4268B3",isBrand:!0},{key:"android",hex:"#79C256",isBrand:!0},{key:"slackBlue",hex:"#38C5F0",isBrand:!0},{key:"slackGreen",hex:"#2EB87E",isBrand:!0},{key:"slackRed",hex:"#E01F5C",isBrand:!0},{key:"slackYellow",hex:"#ECB22D",isBrand:!0},{key:"slackBase",hex:"#4B154C",isBrand:!0},{key:"googleBlue",hex:"#4387F4",isBrand:!0},{key:"googleGreen",hex:"#0F9F59",isBrand:!0},{key:"googleYellow",hex:"#F5B400",isBrand:!0},{key:"googleRed",hex:"#DB4639",isBrand:!0}],i=()=>{let h="#45515c",e=x("#ThemeColorMetaTag");e[0]&&e.setAttribute("content",h)},k={};y.forEach(h=>{let{key:e}=h;k[e]={alfa:r=>`hsla( var( --cH_${e} ),var( --cS_${e} ),var( --cL_${e} ),${r!=null?r:1} ) `,hex:h.hex,isBrand:h.isBrand}});export{y as ColorRecords,i as SetThemeColorTag,k as ThemeColors};
|