@anker-in/headless-ui 0.0.27-alpha.14 → 0.0.27-alpha.16
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/README.md +34 -7
- package/dist/cjs/biz-components/HeroBanner/HeroBanner.js +1 -1
- package/dist/cjs/biz-components/HeroBanner/HeroBanner.js.map +2 -2
- package/dist/cjs/biz-components/HeroBanner/types.d.ts +2 -1
- package/dist/cjs/biz-components/HeroBanner/types.js +1 -1
- package/dist/cjs/biz-components/HeroBanner/types.js.map +1 -1
- package/dist/cjs/biz-components/MemberEquity/index.js +8 -7
- package/dist/cjs/biz-components/MemberEquity/index.js.map +2 -2
- package/dist/cjs/biz-components/MemberEquity/types.d.ts +3 -3
- package/dist/cjs/biz-components/MemberEquity/types.js +1 -1
- package/dist/cjs/biz-components/MemberEquity/types.js.map +1 -1
- package/dist/cjs/biz-components/ShelfDisplay/index.js +7 -7
- package/dist/cjs/biz-components/ShelfDisplay/index.js.map +2 -2
- package/dist/cjs/biz-components/Tabs/Tabs.d.ts +9 -0
- package/dist/cjs/biz-components/Tabs/Tabs.js +2 -0
- package/dist/cjs/biz-components/Tabs/Tabs.js.map +7 -0
- package/dist/cjs/biz-components/Tabs/index.d.ts +1 -0
- package/dist/cjs/biz-components/Tabs/index.js +2 -0
- package/dist/cjs/biz-components/Tabs/index.js.map +7 -0
- package/dist/cjs/biz-components/Tabs/types.d.ts +14 -0
- package/dist/cjs/biz-components/Tabs/types.js +2 -0
- package/dist/cjs/biz-components/Tabs/types.js.map +7 -0
- package/dist/cjs/components/badge.js +1 -1
- package/dist/cjs/components/badge.js.map +2 -2
- package/dist/cjs/components/button.d.ts +0 -1
- package/dist/cjs/components/button.js +1 -1
- package/dist/cjs/components/button.js.map +3 -3
- package/dist/cjs/components/tabs.d.ts +3 -1
- package/dist/cjs/components/tabs.js +1 -1
- package/dist/cjs/components/tabs.js.map +3 -3
- package/dist/cjs/stories/MemberEquity.stories.d.ts +1 -1
- package/dist/cjs/stories/MemberEquity.stories.js +2 -2
- package/dist/cjs/stories/MemberEquity.stories.js.map +2 -2
- package/dist/cjs/stories/bizTabs.stories.d.ts +7 -0
- package/dist/cjs/stories/bizTabs.stories.js +2 -0
- package/dist/cjs/stories/bizTabs.stories.js.map +7 -0
- package/dist/cjs/stories/button.stories.d.ts +0 -8
- package/dist/cjs/stories/button.stories.js +1 -1
- package/dist/cjs/stories/button.stories.js.map +2 -2
- package/dist/cjs/stories/tabs.stories.d.ts +6 -4
- package/dist/cjs/stories/tabs.stories.js +1 -1
- package/dist/cjs/stories/tabs.stories.js.map +1 -1
- package/dist/cjs/types/props.d.ts +3 -0
- package/dist/cjs/types/props.js +1 -1
- package/dist/cjs/types/props.js.map +1 -1
- package/dist/esm/biz-components/HeroBanner/HeroBanner.js +1 -1
- package/dist/esm/biz-components/HeroBanner/HeroBanner.js.map +3 -3
- package/dist/esm/biz-components/HeroBanner/types.d.ts +2 -1
- package/dist/esm/biz-components/MemberEquity/index.js +9 -8
- package/dist/esm/biz-components/MemberEquity/index.js.map +2 -2
- package/dist/esm/biz-components/MemberEquity/types.d.ts +3 -3
- package/dist/esm/biz-components/ShelfDisplay/index.js +7 -7
- package/dist/esm/biz-components/ShelfDisplay/index.js.map +2 -2
- package/dist/esm/biz-components/Tabs/Tabs.d.ts +9 -0
- package/dist/esm/biz-components/Tabs/Tabs.js +2 -0
- package/dist/esm/biz-components/Tabs/Tabs.js.map +7 -0
- package/dist/esm/biz-components/Tabs/index.d.ts +1 -0
- package/dist/esm/biz-components/Tabs/index.js +2 -0
- package/dist/esm/biz-components/Tabs/index.js.map +7 -0
- package/dist/esm/biz-components/Tabs/types.d.ts +14 -0
- package/dist/esm/biz-components/Tabs/types.js +1 -0
- package/dist/esm/biz-components/Tabs/types.js.map +7 -0
- package/dist/esm/components/badge.js +1 -1
- package/dist/esm/components/badge.js.map +2 -2
- package/dist/esm/components/button.d.ts +0 -1
- package/dist/esm/components/button.js +1 -1
- package/dist/esm/components/button.js.map +3 -3
- package/dist/esm/components/tabs.d.ts +3 -1
- package/dist/esm/components/tabs.js +1 -1
- package/dist/esm/components/tabs.js.map +3 -3
- package/dist/esm/stories/MemberEquity.stories.d.ts +1 -1
- package/dist/esm/stories/MemberEquity.stories.js +2 -2
- package/dist/esm/stories/MemberEquity.stories.js.map +2 -2
- package/dist/esm/stories/bizTabs.stories.d.ts +7 -0
- package/dist/esm/stories/bizTabs.stories.js +2 -0
- package/dist/esm/stories/bizTabs.stories.js.map +7 -0
- package/dist/esm/stories/button.stories.d.ts +0 -8
- package/dist/esm/stories/button.stories.js +1 -1
- package/dist/esm/stories/button.stories.js.map +2 -2
- package/dist/esm/stories/tabs.stories.d.ts +6 -4
- package/dist/esm/stories/tabs.stories.js +1 -1
- package/dist/esm/stories/tabs.stories.js.map +1 -1
- package/dist/esm/types/props.d.ts +3 -0
- package/dist/tokens/anker.css +29 -0
- package/dist/tokens/base.css +147 -0
- package/dist/tokens/eufy.css +14 -0
- package/dist/tokens/eufyMake.css +10 -0
- package/dist/tokens/solix.css +10 -0
- package/dist/tokens/soundcore.css +15 -0
- package/package.json +8 -3
- package/style.css +40 -41
- package/tailwind.config.ts +6 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Tabs as o,TabsList as r,TabsTrigger as t,TabsContent as a}from"../components/index.js";import"react";const l={title:"Components/Tabs",component:o,subcomponents:{TabsList:r,TabsTrigger:t,TabsContent:a},decorators:[s=>e("div",{style:{margin:"2em"},children:e(s,{})})],parameters:{layout:"fullscreen",docs:{description:{component:"Tab\u9009\u9879\u5361\uFF0C\u63D0\u4F9B\u53EF\u8BBF\u95EE\u7684\u6807\u7B7E\u754C\u9762\uFF0C\u57FA\u4E8E@radix-ui/react-tabs"}}},tags:["autodocs"],args:{defaultValue:"bestSeller",
|
|
1
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Tabs as o,TabsList as r,TabsTrigger as t,TabsContent as a}from"../components/index.js";import"react";const l={title:"Components/Tabs",component:o,subcomponents:{TabsList:r,TabsTrigger:t,TabsContent:a},decorators:[s=>e("div",{style:{margin:"2em"},children:e(s,{})})],parameters:{layout:"fullscreen",docs:{description:{component:"Tab\u9009\u9879\u5361\uFF0C\u63D0\u4F9B\u53EF\u8BBF\u95EE\u7684\u6807\u7B7E\u754C\u9762\uFF0C\u57FA\u4E8E@radix-ui/react-tabs"}}},tags:["autodocs"],args:{defaultValue:"bestSeller",align:"left"},argTypes:{defaultValue:{description:"\u9ED8\u8BA4\u9009\u4E2D\u7684\u6807\u7B7E\u9875\u503C",control:"text",table:{summary:"bestSeller",readonly:!0}},value:{description:"\u5F53\u524D\u9009\u4E2D\u7684\u6807\u7B7E\u9875\u503C\uFF08\u53D7\u63A7\u6A21\u5F0F\uFF09",control:{type:"radio"},options:["bestSeller","discountProducts","bundleDeals","recommend"]},align:{description:"\u5BF9\u9F50\u65B9\u5411"},onValueChange:{description:"\u6807\u7B7E\u9875\u503C\u53D8\u5316\u65F6\u7684\u56DE\u8C03\u51FD\u6570",action:"changed",type:"function"},orientation:{control:{type:"inline-radio"},options:["horizontal","vertical"],description:"\u6807\u7B7E\u9875\u5E03\u5C40\u65B9\u5411",table:{defaultValue:{summary:"horizontal"}}},dir:{control:{type:"inline-radio"},options:["ltr","rtl"],description:"\u6587\u672C\u65B9\u5411",table:{defaultValue:{summary:"ltr"}}}}};var d=l;const T={render:s=>n(o,{...s,children:[n(r,{children:[e(t,{value:"bestSeller",children:"Best Seller"}),e(t,{value:"discountProducts",children:"Discount products"}),e(t,{value:"bundleDeals",children:"Bundle Deals"}),e(t,{value:"recommend",children:"Recommend"})]}),e(a,{value:"bestSeller",children:"\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"discountProducts",children:"\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"bundleDeals",children:"\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"recommend",children:"\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002"})]})},c={args:{align:"center"},render:s=>n(o,{...s,children:[n(r,{children:[e(t,{value:"bestSeller",children:"Best Seller"}),e(t,{value:"discountProducts",children:"Discount products"}),e(t,{value:"bundleDeals",children:"Bundle Deals"}),e(t,{value:"recommend",children:"Recommend"})]}),e(a,{value:"bestSeller",children:"\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"discountProducts",children:"\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"bundleDeals",children:"\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"recommend",children:"\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002"})]})},g={args:{align:"right"},render:s=>n(o,{...s,children:[n(r,{children:[e(t,{value:"bestSeller",children:"Best Seller"}),e(t,{value:"discountProducts",children:"Discount products"}),e(t,{value:"bundleDeals",children:"Bundle Deals"}),e(t,{value:"recommend",children:"Recommend"})]}),e(a,{value:"bestSeller",children:"\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"discountProducts",children:"\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"bundleDeals",children:"\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"recommend",children:"\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002"})]})},m={args:{defaultValue:""},render:s=>n(o,{...s,children:[n(r,{children:[e(t,{disabled:!0,value:"bestSeller",children:"Best Seller"}),e(t,{value:"discountProducts",children:"Discount products"}),e(t,{value:"bundleDeals",children:"Bundle Deals"}),e(t,{value:"recommend",children:"Recommend"})]}),e(a,{value:"bestSeller",children:"\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"discountProducts",children:"\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"bundleDeals",children:"\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002"}),e(a,{value:"recommend",children:"\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002"})]})};export{c as AlignCenter,g as AlignRight,T as Default,m as Disabled,d as default};
|
|
2
2
|
//# sourceMappingURL=tabs.stories.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/stories/tabs.stories.tsx"],
|
|
4
|
-
"sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\n\nimport { Tabs, TabsList, TabsTrigger, TabsContent } from '../components/index.js'\n\nimport React, { type ComponentType } from 'react'\n\nconst meta = {\n title: 'Components/Tabs',\n component: Tabs,\n subcomponents: {\n TabsList: TabsList as ComponentType<unknown>,\n TabsTrigger: TabsTrigger as ComponentType<unknown>,\n TabsContent: TabsContent as ComponentType<unknown>,\n },\n decorators: [\n Story => (\n <div style={{ margin: '2em' }}>\n <Story />\n </div>\n ),\n ],\n parameters: {\n layout: 'fullscreen',\n docs: {\n description: {\n component: 'Tab\u9009\u9879\u5361\uFF0C\u63D0\u4F9B\u53EF\u8BBF\u95EE\u7684\u6807\u7B7E\u754C\u9762\uFF0C\u57FA\u4E8E@radix-ui/react-tabs',\n },\n },\n },\n tags: ['autodocs'],\n args: {\n defaultValue: 'bestSeller',\n
|
|
4
|
+
"sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\n\nimport { Tabs, TabsList, TabsTrigger, TabsContent } from '../components/index.js'\n\nimport React, { type ComponentType } from 'react'\n\nconst meta = {\n title: 'Components/Tabs',\n component: Tabs,\n subcomponents: {\n TabsList: TabsList as ComponentType<unknown>,\n TabsTrigger: TabsTrigger as ComponentType<unknown>,\n TabsContent: TabsContent as ComponentType<unknown>,\n },\n decorators: [\n Story => (\n <div style={{ margin: '2em' }}>\n <Story />\n </div>\n ),\n ],\n parameters: {\n layout: 'fullscreen',\n docs: {\n description: {\n component: 'Tab\u9009\u9879\u5361\uFF0C\u63D0\u4F9B\u53EF\u8BBF\u95EE\u7684\u6807\u7B7E\u754C\u9762\uFF0C\u57FA\u4E8E@radix-ui/react-tabs',\n },\n },\n },\n tags: ['autodocs'],\n args: {\n defaultValue: 'bestSeller',\n align: 'left',\n },\n argTypes: {\n defaultValue: {\n description: '\u9ED8\u8BA4\u9009\u4E2D\u7684\u6807\u7B7E\u9875\u503C',\n control: 'text',\n table: {\n summary: 'bestSeller',\n readonly: true,\n },\n },\n value: {\n description: '\u5F53\u524D\u9009\u4E2D\u7684\u6807\u7B7E\u9875\u503C\uFF08\u53D7\u63A7\u6A21\u5F0F\uFF09',\n control: {\n type: 'radio',\n },\n options: ['bestSeller', 'discountProducts', 'bundleDeals', 'recommend'],\n },\n align: {\n description: '\u5BF9\u9F50\u65B9\u5411',\n },\n onValueChange: {\n description: '\u6807\u7B7E\u9875\u503C\u53D8\u5316\u65F6\u7684\u56DE\u8C03\u51FD\u6570',\n action: 'changed',\n type: 'function',\n },\n orientation: {\n control: {\n type: 'inline-radio',\n },\n options: ['horizontal', 'vertical'],\n description: '\u6807\u7B7E\u9875\u5E03\u5C40\u65B9\u5411',\n table: {\n defaultValue: {\n summary: 'horizontal',\n },\n },\n },\n dir: {\n control: {\n type: 'inline-radio',\n },\n options: ['ltr', 'rtl'],\n description: '\u6587\u672C\u65B9\u5411',\n table: {\n defaultValue: {\n summary: 'ltr',\n },\n },\n },\n // activationMode: {\n // control: {\n // type: 'select',\n // },\n // options: ['automatic', 'manual'],\n // description: '\u6FC0\u6D3B\u6A21\u5F0F\uFF08automatic: \u81EA\u52A8\u6FC0\u6D3B, manual: \u624B\u52A8\u6FC0\u6D3B\uFF09',\n // table: {\n // defaultValue: {\n // summary: 'automatic',\n // },\n // },\n // },\n },\n} satisfies Meta<typeof Tabs>\n\nexport default meta\n\ntype Story = StoryObj<typeof Tabs>\n\nexport const Default: Story = {\n render: args => (\n <Tabs {...args}>\n <TabsList>\n <TabsTrigger value=\"bestSeller\">Best Seller</TabsTrigger>\n <TabsTrigger value=\"discountProducts\">Discount products</TabsTrigger>\n <TabsTrigger value=\"bundleDeals\">Bundle Deals</TabsTrigger>\n <TabsTrigger value=\"recommend\">Recommend</TabsTrigger>\n </TabsList>\n <TabsContent value=\"bestSeller\">\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"discountProducts\">\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"bundleDeals\">\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"recommend\">\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n </Tabs>\n ),\n}\n\nexport const AlignCenter: Story = {\n args: {\n align: 'center',\n },\n render: args => (\n <Tabs {...args}>\n <TabsList>\n <TabsTrigger value=\"bestSeller\">Best Seller</TabsTrigger>\n <TabsTrigger value=\"discountProducts\">Discount products</TabsTrigger>\n <TabsTrigger value=\"bundleDeals\">Bundle Deals</TabsTrigger>\n <TabsTrigger value=\"recommend\">Recommend</TabsTrigger>\n </TabsList>\n <TabsContent value=\"bestSeller\">\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"discountProducts\">\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"bundleDeals\">\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"recommend\">\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n </Tabs>\n ),\n}\n\nexport const AlignRight: Story = {\n args: {\n align: 'right',\n },\n render: args => (\n <Tabs {...args}>\n <TabsList>\n <TabsTrigger value=\"bestSeller\">Best Seller</TabsTrigger>\n <TabsTrigger value=\"discountProducts\">Discount products</TabsTrigger>\n <TabsTrigger value=\"bundleDeals\">Bundle Deals</TabsTrigger>\n <TabsTrigger value=\"recommend\">Recommend</TabsTrigger>\n </TabsList>\n <TabsContent value=\"bestSeller\">\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"discountProducts\">\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"bundleDeals\">\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"recommend\">\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n </Tabs>\n ),\n}\n\nexport const Disabled: Story = {\n args: {\n defaultValue: '',\n },\n render: args => (\n <Tabs {...args}>\n <TabsList>\n <TabsTrigger disabled value=\"bestSeller\">\n Best Seller\n </TabsTrigger>\n <TabsTrigger value=\"discountProducts\">Discount products</TabsTrigger>\n <TabsTrigger value=\"bundleDeals\">Bundle Deals</TabsTrigger>\n <TabsTrigger value=\"recommend\">Recommend</TabsTrigger>\n </TabsList>\n <TabsContent value=\"bestSeller\">\u8FD9\u91CC\u5C55\u793A\u7545\u9500\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"discountProducts\">\u8FD9\u91CC\u5C55\u793A\u6298\u6263\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"bundleDeals\">\u8FD9\u91CC\u5C55\u793A\u5957\u88C5\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n <TabsContent value=\"recommend\">\u8FD9\u91CC\u5C55\u793A\u63A8\u8350\u5546\u54C1\u5185\u5BB9\u3002</TabsContent>\n </Tabs>\n ),\n}\n"],
|
|
5
5
|
"mappings": "AAiBQ,cAAAA,EAuFF,QAAAC,MAvFE,oBAfR,OAAS,QAAAC,EAAM,YAAAC,EAAU,eAAAC,EAAa,eAAAC,MAAmB,yBAEzD,MAA0C,QAE1C,MAAMC,EAAO,CACX,MAAO,kBACP,UAAWJ,EACX,cAAe,CACb,SAAUC,EACV,YAAaC,EACb,YAAaC,CACf,EACA,WAAY,CACVE,GACEP,EAAC,OAAI,MAAO,CAAE,OAAQ,KAAM,EAC1B,SAAAA,EAACO,EAAA,EAAM,EACT,CAEJ,EACA,WAAY,CACV,OAAQ,aACR,KAAM,CACJ,YAAa,CACX,UAAW,+HACb,CACF,CACF,EACA,KAAM,CAAC,UAAU,EACjB,KAAM,CACJ,aAAc,aACd,MAAO,MACT,EACA,SAAU,CACR,aAAc,CACZ,YAAa,yDACb,QAAS,OACT,MAAO,CACL,QAAS,aACT,SAAU,EACZ,CACF,EACA,MAAO,CACL,YAAa,6FACb,QAAS,CACP,KAAM,OACR,EACA,QAAS,CAAC,aAAc,mBAAoB,cAAe,WAAW,CACxE,EACA,MAAO,CACL,YAAa,0BACf,EACA,cAAe,CACb,YAAa,2EACb,OAAQ,UACR,KAAM,UACR,EACA,YAAa,CACX,QAAS,CACP,KAAM,cACR,EACA,QAAS,CAAC,aAAc,UAAU,EAClC,YAAa,6CACb,MAAO,CACL,aAAc,CACZ,QAAS,YACX,CACF,CACF,EACA,IAAK,CACH,QAAS,CACP,KAAM,cACR,EACA,QAAS,CAAC,MAAO,KAAK,EACtB,YAAa,2BACb,MAAO,CACL,aAAc,CACZ,QAAS,KACX,CACF,CACF,CAaF,CACF,EAEA,IAAOC,EAAQF,EAIR,MAAMG,EAAiB,CAC5B,OAAQC,GACNT,EAACC,EAAA,CAAM,GAAGQ,EACR,UAAAT,EAACE,EAAA,CACC,UAAAH,EAACI,EAAA,CAAY,MAAM,aAAa,uBAAW,EAC3CJ,EAACI,EAAA,CAAY,MAAM,mBAAmB,6BAAiB,EACvDJ,EAACI,EAAA,CAAY,MAAM,cAAc,wBAAY,EAC7CJ,EAACI,EAAA,CAAY,MAAM,YAAY,qBAAS,GAC1C,EACAJ,EAACK,EAAA,CAAY,MAAM,aAAa,8EAAW,EAC3CL,EAACK,EAAA,CAAY,MAAM,mBAAmB,8EAAW,EACjDL,EAACK,EAAA,CAAY,MAAM,cAAc,8EAAW,EAC5CL,EAACK,EAAA,CAAY,MAAM,YAAY,8EAAW,GAC5C,CAEJ,EAEaM,EAAqB,CAChC,KAAM,CACJ,MAAO,QACT,EACA,OAAQD,GACNT,EAACC,EAAA,CAAM,GAAGQ,EACR,UAAAT,EAACE,EAAA,CACC,UAAAH,EAACI,EAAA,CAAY,MAAM,aAAa,uBAAW,EAC3CJ,EAACI,EAAA,CAAY,MAAM,mBAAmB,6BAAiB,EACvDJ,EAACI,EAAA,CAAY,MAAM,cAAc,wBAAY,EAC7CJ,EAACI,EAAA,CAAY,MAAM,YAAY,qBAAS,GAC1C,EACAJ,EAACK,EAAA,CAAY,MAAM,aAAa,8EAAW,EAC3CL,EAACK,EAAA,CAAY,MAAM,mBAAmB,8EAAW,EACjDL,EAACK,EAAA,CAAY,MAAM,cAAc,8EAAW,EAC5CL,EAACK,EAAA,CAAY,MAAM,YAAY,8EAAW,GAC5C,CAEJ,EAEaO,EAAoB,CAC/B,KAAM,CACJ,MAAO,OACT,EACA,OAAQF,GACNT,EAACC,EAAA,CAAM,GAAGQ,EACR,UAAAT,EAACE,EAAA,CACC,UAAAH,EAACI,EAAA,CAAY,MAAM,aAAa,uBAAW,EAC3CJ,EAACI,EAAA,CAAY,MAAM,mBAAmB,6BAAiB,EACvDJ,EAACI,EAAA,CAAY,MAAM,cAAc,wBAAY,EAC7CJ,EAACI,EAAA,CAAY,MAAM,YAAY,qBAAS,GAC1C,EACAJ,EAACK,EAAA,CAAY,MAAM,aAAa,8EAAW,EAC3CL,EAACK,EAAA,CAAY,MAAM,mBAAmB,8EAAW,EACjDL,EAACK,EAAA,CAAY,MAAM,cAAc,8EAAW,EAC5CL,EAACK,EAAA,CAAY,MAAM,YAAY,8EAAW,GAC5C,CAEJ,EAEaQ,EAAkB,CAC7B,KAAM,CACJ,aAAc,EAChB,EACA,OAAQH,GACNT,EAACC,EAAA,CAAM,GAAGQ,EACR,UAAAT,EAACE,EAAA,CACC,UAAAH,EAACI,EAAA,CAAY,SAAQ,GAAC,MAAM,aAAa,uBAEzC,EACAJ,EAACI,EAAA,CAAY,MAAM,mBAAmB,6BAAiB,EACvDJ,EAACI,EAAA,CAAY,MAAM,cAAc,wBAAY,EAC7CJ,EAACI,EAAA,CAAY,MAAM,YAAY,qBAAS,GAC1C,EACAJ,EAACK,EAAA,CAAY,MAAM,aAAa,8EAAW,EAC3CL,EAACK,EAAA,CAAY,MAAM,mBAAmB,8EAAW,EACjDL,EAACK,EAAA,CAAY,MAAM,cAAc,8EAAW,EAC5CL,EAACK,EAAA,CAAY,MAAM,YAAY,8EAAW,GAC5C,CAEJ",
|
|
6
6
|
"names": ["jsx", "jsxs", "Tabs", "TabsList", "TabsTrigger", "TabsContent", "meta", "Story", "tabs_stories_default", "Default", "args", "AlignCenter", "AlignRight", "Disabled"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
* {
|
|
2
|
+
--btn-text-color: #ffffff;
|
|
3
|
+
--btn-bg-active-color: #00aaff;
|
|
4
|
+
--btn-bg-disabled-color: rgba(29, 62, 79, 0.7);
|
|
5
|
+
|
|
6
|
+
--btn-bg-secondary-color: #ffffff;
|
|
7
|
+
--btn-text-secondary-color: #1d1d1f;
|
|
8
|
+
--btn-bg-secondary-active-color: #6e6e73;
|
|
9
|
+
--btn-bg-secondary-disabled-color: rgba(221, 221, 221, 0.7);
|
|
10
|
+
--btn-border-secondary-border-color: #acacac;
|
|
11
|
+
|
|
12
|
+
--btn-radius: 0;
|
|
13
|
+
|
|
14
|
+
--radius: 0em;
|
|
15
|
+
|
|
16
|
+
--letter-spacing-normal: -0.02em;
|
|
17
|
+
--line-height-tight: 1.2;
|
|
18
|
+
--line-height-normal: 1.4;
|
|
19
|
+
--line-height-loose: 1.6;
|
|
20
|
+
|
|
21
|
+
--min-xxl-w: 1680px;
|
|
22
|
+
--md-w: 342px;
|
|
23
|
+
--md-l-w: 688px;
|
|
24
|
+
--l-xl-w: 864px;
|
|
25
|
+
--xl-xxl-w: 1280px;
|
|
26
|
+
|
|
27
|
+
/* 通用组件库anker品牌颜色 */
|
|
28
|
+
--brand-color-0: #00befa;
|
|
29
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--btn-text-color: #ffffff;
|
|
3
|
+
--btn-bg-active-color: #00a7e1;
|
|
4
|
+
--btn-bg-disabled-color: #ccdfe850;
|
|
5
|
+
|
|
6
|
+
--btn-bg-secondary-color: transparent;
|
|
7
|
+
--btn-text-secondary-color: #333333;
|
|
8
|
+
--btn-bg-secondary-active-color: #555555;
|
|
9
|
+
--btn-bg-secondary-disabled-color: #f5f5f550;
|
|
10
|
+
|
|
11
|
+
/* 浅色背景 */
|
|
12
|
+
--success-color-0: #34C759;
|
|
13
|
+
--success-color-1: #5dd27a;
|
|
14
|
+
--success-color-2: #85dd9b;
|
|
15
|
+
--success-color-3: #aee9bd;
|
|
16
|
+
--success-color-4: #D6F4DE;
|
|
17
|
+
|
|
18
|
+
--warning-color-0: #FFC24D;
|
|
19
|
+
--warning-color-1: #fdcc6e;
|
|
20
|
+
--warning-color-2: #fbd68f;
|
|
21
|
+
--warning-color-3: #f8e0af;
|
|
22
|
+
--warning-color-4: #F6EAD0;
|
|
23
|
+
|
|
24
|
+
--error-color-0: #FF4D4D;
|
|
25
|
+
--error-color-1: #F6D3D0;
|
|
26
|
+
--error-color-2: #fb908f;
|
|
27
|
+
--error-color-3: #f8b1af;
|
|
28
|
+
--error-color-4: #f6dbd8;
|
|
29
|
+
|
|
30
|
+
--info-primary-color: #1D1D1F;
|
|
31
|
+
--info-secondary-color: #86868C;
|
|
32
|
+
--info-tertiary-color: #B6B6BA;
|
|
33
|
+
--info-quaternary-color: #DDDDDD;
|
|
34
|
+
--info-white-color: #FFFFFF;
|
|
35
|
+
|
|
36
|
+
--container-primary-color: #ffffff;
|
|
37
|
+
--container-secondary-color-0: #F7F8F9;
|
|
38
|
+
--container-secondary-color-1: #EAEAEC;
|
|
39
|
+
--bg-color-0: #f5f5f7;
|
|
40
|
+
--bg-color-1: #ffffff;
|
|
41
|
+
--bg-color-2: rgba(0, 190, 250, 0.08);
|
|
42
|
+
--lines-color: #cececf;
|
|
43
|
+
--masks-color-0: rgba(29, 29, 31, 0.2);
|
|
44
|
+
--masks-color-1: rgba(29, 29, 31, 0.6);
|
|
45
|
+
--tab-word-color-0: #ff9900;
|
|
46
|
+
--tab-stroke-color-0: #ffcf87;
|
|
47
|
+
--tab-fill-color-0: #fff7eb;
|
|
48
|
+
--tab-word-color-1: #00aaff;
|
|
49
|
+
--tab-stroke-color-1: #88d7ff;
|
|
50
|
+
--tab-fill-color-1: #ebf8ff;
|
|
51
|
+
--tab-word-color-2: #ff4d4d;
|
|
52
|
+
--tab-stroke-color-2: #ff8a8a;
|
|
53
|
+
--tab-fill-color-2: #fff1f1;
|
|
54
|
+
|
|
55
|
+
--secondary-brand-color-1: #042637;
|
|
56
|
+
--secondary-brand-color-2: #b3ecfb;
|
|
57
|
+
--secondary-brand-color-3: #f8f7f6;
|
|
58
|
+
|
|
59
|
+
--bg-color-1: #f4f4f1;
|
|
60
|
+
--bg-color-2: #efefec;
|
|
61
|
+
|
|
62
|
+
--line-color: #e9e9e9;
|
|
63
|
+
--line-color-1: #ddd;
|
|
64
|
+
--line-color-2: #1d1d1f;
|
|
65
|
+
|
|
66
|
+
--masks-color-1: hsla(0, 0%, 0%, 0.5);
|
|
67
|
+
--masks-color-2: hsla(0, 0%, 0%, 0.85);
|
|
68
|
+
|
|
69
|
+
--size-text-1: 12px;
|
|
70
|
+
--size-text-2: 14px;
|
|
71
|
+
--size-text-3: 18px;
|
|
72
|
+
--letter-spacing-text-1: -0.24px;
|
|
73
|
+
--letter-spacing-text-2: -0.36px;
|
|
74
|
+
--letter-spacing-text-3: -0.48px;
|
|
75
|
+
|
|
76
|
+
--size-heading-1: 24px;
|
|
77
|
+
--size-heading-2: 32px;
|
|
78
|
+
--size-heading-3: 40px;
|
|
79
|
+
--size-heading-4: 48px;
|
|
80
|
+
--size-heading-5: 56px;
|
|
81
|
+
--letter-spacing-heading-1: -0.48px;
|
|
82
|
+
--letter-spacing-heading-2: -0.64px;
|
|
83
|
+
--letter-spacing-heading-3: -0.8px;
|
|
84
|
+
--letter-spacing-heading-4: -0.96px;
|
|
85
|
+
--letter-spacing-heading-5: -1.12px;
|
|
86
|
+
|
|
87
|
+
--line-height-base: 1.2;
|
|
88
|
+
|
|
89
|
+
--letter-spacing-normal: -0.02em;
|
|
90
|
+
--line-height-tight: 1.2;
|
|
91
|
+
--line-height-normal: 1.4;
|
|
92
|
+
--line-height-loose: 1.6;
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
/* 通用组件库anker品牌颜色 */
|
|
96
|
+
|
|
97
|
+
--tabs-list-bg-color: var(--container-secondary-color-1);
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.aiui-dark {
|
|
103
|
+
/* 深色背景 */
|
|
104
|
+
--success-color-0: #34C759;
|
|
105
|
+
--success-color-1: #2cad4c;
|
|
106
|
+
--success-color-2: #288940;
|
|
107
|
+
--success-color-3: #246434;
|
|
108
|
+
--success-color-4: #D6F4DE;
|
|
109
|
+
--warning-color-0: #FFC24D;
|
|
110
|
+
--warning-color-1: #cc9b3e;
|
|
111
|
+
--warning-color-2: #99742e;
|
|
112
|
+
--warning-color-3: #664e1f;
|
|
113
|
+
--warning-color-4: #33270f;
|
|
114
|
+
--error-color-0: #FF4D4D;
|
|
115
|
+
--error-color-1: #F6D3D0;
|
|
116
|
+
--error-color-2: #992e2e;
|
|
117
|
+
--error-color-3: #661f1f;
|
|
118
|
+
--error-color-4: #330f0f;
|
|
119
|
+
|
|
120
|
+
--info-primary-color: #FFFFFF;
|
|
121
|
+
--info-secondary-color: #B6B6BA;
|
|
122
|
+
--info-tertiary-color: #86868C;
|
|
123
|
+
--info-quaternary-color: #353537;
|
|
124
|
+
--info-white-color: #1D1D1F;
|
|
125
|
+
|
|
126
|
+
--container-primary-color: #1d1d1f;
|
|
127
|
+
--container-secondary-color-0: #353537;
|
|
128
|
+
--container-secondary-color-1: #F7F8F9;
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
--bg-color-0: #000000;
|
|
132
|
+
--bg-color-1: #1d1d1f;
|
|
133
|
+
--lines-color: #3d3d3d;
|
|
134
|
+
--line-masks-color-0: rgba(245, 245, 247, 0.2);
|
|
135
|
+
--line-masks-color-1: rgba(245, 245, 247, 0.6);
|
|
136
|
+
--tab-word-color-0: #ff9900;
|
|
137
|
+
--tab-stroke-color-0: #663d00;
|
|
138
|
+
--tab-fill-color-0: #331f00;
|
|
139
|
+
--tab-word-color-1: #00aaff;
|
|
140
|
+
--tab-stroke-color-1: #004466;
|
|
141
|
+
--tab-fill-color-1: #002233;
|
|
142
|
+
--tab-word-color-2: #ff4d4d;
|
|
143
|
+
--tab-stroke-color-2: #661f1f;
|
|
144
|
+
--tab-fill-color-2: #330f0f;
|
|
145
|
+
|
|
146
|
+
--tabs-list-bg-color: var(--container-primary-color);
|
|
147
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
* {
|
|
2
|
+
--btn-text-color: #ffffff;
|
|
3
|
+
--btn-bg-active-color: #669ebb;
|
|
4
|
+
|
|
5
|
+
--btn-bg-secondary-color: #ffffff;
|
|
6
|
+
--btn-text-secondary-color: #333333;
|
|
7
|
+
--btn-bg-secondary-active-color: #555555;
|
|
8
|
+
--btn-bg-secondary-disabled-color: #f5f5f550;
|
|
9
|
+
|
|
10
|
+
--btn-radius: 24px;
|
|
11
|
+
|
|
12
|
+
--radius: 40px;
|
|
13
|
+
--brand-color-0: #005d8e;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
* {
|
|
2
|
+
--btn-text-color: #ffffff;
|
|
3
|
+
--btn-bg-color-active: #48cffa;
|
|
4
|
+
|
|
5
|
+
--btn-bg-secondary-color: #ffffff;
|
|
6
|
+
--btn-text-secondary-color: #17bbef;
|
|
7
|
+
--btn-bg-secondary-active-color: #17bbef;
|
|
8
|
+
--btn-bg-secondary-disabled-color: #f5f5f550;
|
|
9
|
+
|
|
10
|
+
--btn-radius: 24px;
|
|
11
|
+
|
|
12
|
+
--radius: 0em;
|
|
13
|
+
|
|
14
|
+
--brand-color-0: #17bbef;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anker-in/headless-ui",
|
|
3
|
-
"version": "0.0.27-alpha.
|
|
3
|
+
"version": "0.0.27-alpha.16",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -27,8 +27,12 @@
|
|
|
27
27
|
"default": "./dist/esm/biz-components/index.js"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"./tailwind.config.js":
|
|
31
|
-
|
|
30
|
+
"./tailwind.config.js": {
|
|
31
|
+
"require": "./tailwind.config.ts",
|
|
32
|
+
"import": "./tailwind.config.ts"
|
|
33
|
+
},
|
|
34
|
+
"./style.css": "./style.css",
|
|
35
|
+
"./tokens/*": "./dist/tokens/*"
|
|
32
36
|
},
|
|
33
37
|
"description": "",
|
|
34
38
|
"files": [
|
|
@@ -52,6 +56,7 @@
|
|
|
52
56
|
"@types/node": "^20",
|
|
53
57
|
"babel-jest": "^29.7.0",
|
|
54
58
|
"esbuild": "^0.20.2",
|
|
59
|
+
"esbuild-copy-static-files": "^0.1.0",
|
|
55
60
|
"esbuild-style-plugin": "^1.6.3",
|
|
56
61
|
"eslint-config-prettier": "^9.1.0",
|
|
57
62
|
"eslint-plugin-prettier": "^5.2.6",
|
package/style.css
CHANGED
|
@@ -777,6 +777,10 @@ video {
|
|
|
777
777
|
.w-\[16px\] {
|
|
778
778
|
width: 16px;
|
|
779
779
|
}
|
|
780
|
+
.w-fit {
|
|
781
|
+
width: -moz-fit-content;
|
|
782
|
+
width: fit-content;
|
|
783
|
+
}
|
|
780
784
|
.w-full {
|
|
781
785
|
width: 100%;
|
|
782
786
|
}
|
|
@@ -890,9 +894,6 @@ video {
|
|
|
890
894
|
.gap-4 {
|
|
891
895
|
gap: 1rem;
|
|
892
896
|
}
|
|
893
|
-
.gap-\[24px\] {
|
|
894
|
-
gap: 24px;
|
|
895
|
-
}
|
|
896
897
|
.gap-\[8px\] {
|
|
897
898
|
gap: 8px;
|
|
898
899
|
}
|
|
@@ -918,9 +919,15 @@ video {
|
|
|
918
919
|
text-overflow: ellipsis;
|
|
919
920
|
white-space: nowrap;
|
|
920
921
|
}
|
|
922
|
+
.rounded {
|
|
923
|
+
border-radius: 0.25rem;
|
|
924
|
+
}
|
|
921
925
|
.rounded-\[16px\] {
|
|
922
926
|
border-radius: 16px;
|
|
923
927
|
}
|
|
928
|
+
.rounded-\[28px\] {
|
|
929
|
+
border-radius: 28px;
|
|
930
|
+
}
|
|
924
931
|
.rounded-btn {
|
|
925
932
|
border-radius: var(--btn-radius);
|
|
926
933
|
}
|
|
@@ -933,6 +940,9 @@ video {
|
|
|
933
940
|
.rounded-md {
|
|
934
941
|
border-radius: 0.375rem;
|
|
935
942
|
}
|
|
943
|
+
.rounded-none {
|
|
944
|
+
border-radius: 0px;
|
|
945
|
+
}
|
|
936
946
|
.rounded-sm {
|
|
937
947
|
border-radius: 0.125rem;
|
|
938
948
|
}
|
|
@@ -942,9 +952,6 @@ video {
|
|
|
942
952
|
.border-\[1\.6px\] {
|
|
943
953
|
border-width: 1.6px;
|
|
944
954
|
}
|
|
945
|
-
.border-b {
|
|
946
|
-
border-bottom-width: 1px;
|
|
947
|
-
}
|
|
948
955
|
.border-solid {
|
|
949
956
|
border-style: solid;
|
|
950
957
|
}
|
|
@@ -957,15 +964,9 @@ video {
|
|
|
957
964
|
.border-brand-0 {
|
|
958
965
|
border-color: var(--brand-color-0);
|
|
959
966
|
}
|
|
960
|
-
.border-btn-primary {
|
|
961
|
-
border-color: var(--info-primary-color);
|
|
962
|
-
}
|
|
963
967
|
.border-info-primary {
|
|
964
968
|
border-color: var(--info-primary-color);
|
|
965
969
|
}
|
|
966
|
-
.border-info-white {
|
|
967
|
-
border-color: var(--info-white-color);
|
|
968
|
-
}
|
|
969
970
|
.border-lines-1 {
|
|
970
971
|
border-color: var(--line-color-1);
|
|
971
972
|
}
|
|
@@ -981,12 +982,6 @@ video {
|
|
|
981
982
|
.border-primary {
|
|
982
983
|
border-color: var(--brand-color-0);
|
|
983
984
|
}
|
|
984
|
-
.border-b-brand-0 {
|
|
985
|
-
border-bottom-color: var(--brand-color-0);
|
|
986
|
-
}
|
|
987
|
-
.border-b-lines {
|
|
988
|
-
border-bottom-color: var(--lines-color);
|
|
989
|
-
}
|
|
990
985
|
.bg-\[\#1D1D1F\] {
|
|
991
986
|
--tw-bg-opacity: 1;
|
|
992
987
|
background-color: rgb(29 29 31 / var(--tw-bg-opacity, 1));
|
|
@@ -1121,6 +1116,9 @@ video {
|
|
|
1121
1116
|
.bg-tab-word-2 {
|
|
1122
1117
|
background-color: var(--tab-word-color-2);
|
|
1123
1118
|
}
|
|
1119
|
+
.bg-tabs-list-bg {
|
|
1120
|
+
background-color: var(--tabs-list-bg-color);
|
|
1121
|
+
}
|
|
1124
1122
|
.bg-transparent {
|
|
1125
1123
|
background-color: transparent;
|
|
1126
1124
|
}
|
|
@@ -1190,6 +1188,10 @@ video {
|
|
|
1190
1188
|
padding-left: 1.75rem;
|
|
1191
1189
|
padding-right: 1.75rem;
|
|
1192
1190
|
}
|
|
1191
|
+
.px-\[20px\] {
|
|
1192
|
+
padding-left: 20px;
|
|
1193
|
+
padding-right: 20px;
|
|
1194
|
+
}
|
|
1193
1195
|
.px-\[6px\] {
|
|
1194
1196
|
padding-left: 6px;
|
|
1195
1197
|
padding-right: 6px;
|
|
@@ -1374,8 +1376,8 @@ video {
|
|
|
1374
1376
|
--tw-text-opacity: 1;
|
|
1375
1377
|
color: rgb(134 134 140 / var(--tw-text-opacity, 1));
|
|
1376
1378
|
}
|
|
1377
|
-
.text-
|
|
1378
|
-
color: var(--
|
|
1379
|
+
.text-brand-0 {
|
|
1380
|
+
color: var(--brand-color-0);
|
|
1379
1381
|
}
|
|
1380
1382
|
.text-btn-primary-foreground {
|
|
1381
1383
|
color: var(--btn-text-color);
|
|
@@ -1392,9 +1394,6 @@ video {
|
|
|
1392
1394
|
.text-info-quaternary {
|
|
1393
1395
|
color: var(--info-quaternary-color);
|
|
1394
1396
|
}
|
|
1395
|
-
.text-info-white {
|
|
1396
|
-
color: var(--info-white-color);
|
|
1397
|
-
}
|
|
1398
1397
|
.text-lines-1 {
|
|
1399
1398
|
color: var(--line-color-1);
|
|
1400
1399
|
}
|
|
@@ -1549,12 +1548,9 @@ video {
|
|
|
1549
1548
|
.empty\:block:empty {
|
|
1550
1549
|
display: block;
|
|
1551
1550
|
}
|
|
1552
|
-
.hover\:border-
|
|
1551
|
+
.hover\:border-btn-primary-active:hover {
|
|
1553
1552
|
border-color: var(--brand-color-0);
|
|
1554
1553
|
}
|
|
1555
|
-
.hover\:border-info-white:hover {
|
|
1556
|
-
border-color: var(--info-white-color);
|
|
1557
|
-
}
|
|
1558
1554
|
.hover\:\!bg-btn-primary:hover {
|
|
1559
1555
|
background-color: var(--info-primary-color) !important;
|
|
1560
1556
|
}
|
|
@@ -1570,9 +1566,6 @@ video {
|
|
|
1570
1566
|
.hover\:bg-btn-secondary-active:hover {
|
|
1571
1567
|
background-color: var(--info-primary-color);
|
|
1572
1568
|
}
|
|
1573
|
-
.hover\:bg-info-white:hover {
|
|
1574
|
-
background-color: var(--info-white-color);
|
|
1575
|
-
}
|
|
1576
1569
|
.hover\:text-brand-0:hover {
|
|
1577
1570
|
color: var(--brand-color-0);
|
|
1578
1571
|
}
|
|
@@ -1585,12 +1578,6 @@ video {
|
|
|
1585
1578
|
.hover\:text-btn-secondary:hover {
|
|
1586
1579
|
color: var(--btn-bg-secondary-color);
|
|
1587
1580
|
}
|
|
1588
|
-
.hover\:text-info-primary:hover {
|
|
1589
|
-
color: var(--info-primary-color);
|
|
1590
|
-
}
|
|
1591
|
-
.hover\:text-info-white:hover {
|
|
1592
|
-
color: var(--info-white-color);
|
|
1593
|
-
}
|
|
1594
1581
|
.hover\:underline:hover {
|
|
1595
1582
|
text-decoration-line: underline;
|
|
1596
1583
|
}
|
|
@@ -1653,9 +1640,6 @@ video {
|
|
|
1653
1640
|
.disabled\:text-info-quaternary:disabled {
|
|
1654
1641
|
color: var(--info-quaternary-color);
|
|
1655
1642
|
}
|
|
1656
|
-
.disabled\:text-info-white:disabled {
|
|
1657
|
-
color: var(--info-white-color);
|
|
1658
|
-
}
|
|
1659
1643
|
.disabled\:opacity-50:disabled {
|
|
1660
1644
|
opacity: 0.5;
|
|
1661
1645
|
}
|
|
@@ -1677,8 +1661,9 @@ video {
|
|
|
1677
1661
|
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
1678
1662
|
pointer-events: none;
|
|
1679
1663
|
}
|
|
1680
|
-
.data-\[state\=active\]\:
|
|
1681
|
-
|
|
1664
|
+
.data-\[state\=active\]\:bg-white[data-state="active"] {
|
|
1665
|
+
--tw-bg-opacity: 1;
|
|
1666
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
1682
1667
|
}
|
|
1683
1668
|
.data-\[state\=checked\]\:bg-primary[data-state="checked"] {
|
|
1684
1669
|
background-color: var(--brand-color-0);
|
|
@@ -1686,6 +1671,10 @@ video {
|
|
|
1686
1671
|
.data-\[inline-skeleton\=true\]\:leading-\[0\][data-inline-skeleton="true"] {
|
|
1687
1672
|
line-height: 0;
|
|
1688
1673
|
}
|
|
1674
|
+
.data-\[state\=active\]\:text-\[\#1d1d1d\][data-state="active"] {
|
|
1675
|
+
--tw-text-opacity: 1;
|
|
1676
|
+
color: rgb(29 29 29 / var(--tw-text-opacity, 1));
|
|
1677
|
+
}
|
|
1689
1678
|
.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
|
|
1690
1679
|
color: var(--btn-text-color);
|
|
1691
1680
|
}
|
|
@@ -1757,9 +1746,19 @@ video {
|
|
|
1757
1746
|
padding-left: 1.5rem;
|
|
1758
1747
|
padding-right: 1.5rem;
|
|
1759
1748
|
}
|
|
1749
|
+
.lg-desktop\:px-\[28px\] {
|
|
1750
|
+
padding-left: 28px;
|
|
1751
|
+
padding-right: 28px;
|
|
1752
|
+
}
|
|
1753
|
+
.lg-desktop\:pb-\[14px\] {
|
|
1754
|
+
padding-bottom: 14px;
|
|
1755
|
+
}
|
|
1760
1756
|
.lg-desktop\:pb-\[32px\] {
|
|
1761
1757
|
padding-bottom: 32px;
|
|
1762
1758
|
}
|
|
1759
|
+
.lg-desktop\:pt-\[15px\] {
|
|
1760
|
+
padding-top: 15px;
|
|
1761
|
+
}
|
|
1763
1762
|
.lg-desktop\:pt-\[32px\] {
|
|
1764
1763
|
padding-top: 32px;
|
|
1765
1764
|
}
|
package/tailwind.config.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Config } from 'tailwindcss'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
+
darkMode: ['selector', '[data-aiui-mode="dark"]'],
|
|
4
5
|
content: [
|
|
5
6
|
'./src/components/**/*.{js,jsx,ts,tsx}',
|
|
6
7
|
'./src/icons/**/*.{js,jsx,ts,tsx}',
|
|
@@ -54,6 +55,11 @@ export default {
|
|
|
54
55
|
1: 'var(--container-secondary-color-1)',
|
|
55
56
|
},
|
|
56
57
|
},
|
|
58
|
+
tabs: {
|
|
59
|
+
list: {
|
|
60
|
+
bg: 'var(--tabs-list-bg-color)',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
57
63
|
bg: {
|
|
58
64
|
0: 'var(--bg-color-0)',
|
|
59
65
|
1: 'var(--bg-color-1)',
|