UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

1 lines 1.8 kB
{"version":3,"file":"color-picker.style.cjs","names":["defineComponentSlotStyle","nativeSelectStyle","datePickerStyle"],"sources":["../../../../src/components/color-picker/color-picker.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\nimport { datePickerStyle } from \"../date-picker\"\nimport { nativeSelectStyle } from \"../native-select\"\n\nexport const colorPickerStyle = defineComponentSlotStyle({\n base: {\n ...nativeSelectStyle.base,\n colorSwatch: { w: \"1.5em\" },\n content: { maxW: \"sm\", p: \"1\" },\n eyeDropper: datePickerStyle.base?.icon,\n field: datePickerStyle.base?.field,\n input: datePickerStyle.base?.input,\n },\n\n variants: {\n filled: datePickerStyle.variants?.filled,\n flushed: { ...datePickerStyle.variants?.flushed, root: {} },\n outline: datePickerStyle.variants?.outline,\n plain: datePickerStyle.variants?.plain,\n },\n\n sizes: {\n xs: datePickerStyle.sizes?.xs,\n sm: datePickerStyle.sizes?.sm,\n md: datePickerStyle.sizes?.md,\n lg: datePickerStyle.sizes?.lg,\n xl: datePickerStyle.sizes?.xl,\n },\n\n defaultProps: {\n size: \"md\",\n variant: \"outline\",\n },\n})\n\nexport type ColorPickerStyle = typeof colorPickerStyle\n"],"mappings":";;;;;AAIA,MAAa,mBAAmBA,wCAAyB;CACvD,MAAM;EACJ,GAAGC,8CAAkB;EACrB,aAAa,EAAE,GAAG,SAAS;EAC3B,SAAS;GAAE,MAAM;GAAM,GAAG;GAAK;EAC/B,YAAYC,0CAAgB,MAAM;EAClC,OAAOA,0CAAgB,MAAM;EAC7B,OAAOA,0CAAgB,MAAM;EAC9B;CAED,UAAU;EACR,QAAQA,0CAAgB,UAAU;EAClC,SAAS;GAAE,GAAGA,0CAAgB,UAAU;GAAS,MAAM,EAAE;GAAE;EAC3D,SAASA,0CAAgB,UAAU;EACnC,OAAOA,0CAAgB,UAAU;EAClC;CAED,OAAO;EACL,IAAIA,0CAAgB,OAAO;EAC3B,IAAIA,0CAAgB,OAAO;EAC3B,IAAIA,0CAAgB,OAAO;EAC3B,IAAIA,0CAAgB,OAAO;EAC3B,IAAIA,0CAAgB,OAAO;EAC5B;CAED,cAAc;EACZ,MAAM;EACN,SAAS;EACV;CACF,CAAC"}