amotify 0.2.254 → 0.2.255

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.2.254",
3
+ "version": "0.2.255",
4
4
  "description": "UI Component for React,NextJS,esbuild",
5
5
  "scripts": {
6
6
  "start": "run-p clean build:*",
@@ -1,25 +0,0 @@
1
- /// <reference types="react" />
2
- import { StyleTags, ReactElement } from '../../@declares';
3
- import { Span } from '../../atoms';
4
- import { InputTypes } from '.';
5
- export declare namespace Parts {
6
- type RequiredSign = React.FC<Span.Input>;
7
- type RequiredShortSign = React.FC<Span.Input>;
8
- type OmitSign = React.FC<Span.Input>;
9
- type LeftIndicator = React.FC<Input>;
10
- type RightIndicator = React.FC<Input>;
11
- type LeftIcon = React.FC<Input>;
12
- type RightIcon = React.FC<Input>;
13
- type Input = StyleTags.States & {
14
- tone?: InputTypes.BoxTone;
15
- className?: string;
16
- children: ReactElement;
17
- };
18
- }
19
- export declare const RequiredSign: React.FC<Span.Input>;
20
- export declare const RequiredShortSign: React.FC<Span.Input>;
21
- export declare const OmitSign: React.FC<Span.Input>;
22
- export declare const LeftIndicator: React.FC<Parts.Input>;
23
- export declare const RightIndicator: React.FC<Parts.Input>;
24
- export declare const RightIcon: React.FC<Parts.Input>;
25
- export declare const LeftIcon: React.FC<Parts.Input>;
@@ -1 +0,0 @@
1
- import{b as e,c as n,d as p}from"../../chunk-C5N2D3ZX.js";import{jsx as i}from"react/jsx-runtime";import{Box as s,Span as u}from"../../atoms";const c=t=>{if(t||(t="border"),t=="plain")return{};let r={flexSizing:"none",padding:1,borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return t=="border"?r=n(e({},r),{border:!0}):t=="cloud"?r=n(e({},r),{border:"1.thin"}):t=="bottomBorder"&&(r=n(e({},r),{borderRadius:0,borderBottom:!0})),r},d={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},I=t=>i(u,e({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},t)),b=t=>i(u,e({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},t)),h=t=>i(u,e({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},t)),x=t=>{let o=t,{tone:r}=o,a=p(o,["tone"]);return i(s,e(n(e({},c(r)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),a))},m=t=>{let o=t,{tone:r}=o,a=p(o,["tone"]);return i(s,e(n(e({},c(r)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),a))},y=t=>{let o=t,{tone:r="border"}=o,a=p(o,["tone"]);return i(s,n(e(n(e({},d),{right:1}),a),{freeCSS:e(e({},d.freeCSS),a.freeCSS)}))},F=t=>{let o=t,{tone:r="border"}=o,a=p(o,["tone"]);return i(s,n(e(n(e({},d),{left:1}),a),{freeCSS:e(e({},d.freeCSS),a.freeCSS)}))};export{F as LeftIcon,x as LeftIndicator,h as OmitSign,b as RequiredShortSign,I as RequiredSign,y as RightIcon,m as RightIndicator};