@telegraph/tag 0.0.13 → 0.0.15
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @telegraph/tag
|
|
2
2
|
|
|
3
|
+
## 0.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c4fd745`](https://github.com/knocklabs/telegraph/commit/c4fd74560d25ae6905f4d9230714786b09d365b1)]:
|
|
8
|
+
- @telegraph/button@0.0.17
|
|
9
|
+
|
|
10
|
+
## 0.0.14
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @telegraph/icon@0.0.9
|
|
16
|
+
- @telegraph/button@0.0.16
|
|
17
|
+
- @telegraph/typography@0.0.10
|
|
18
|
+
|
|
3
19
|
## 0.0.13
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/types/Tag/Tag.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Lucide, Icon as TelegraphIcon } from
|
|
2
|
-
import React from
|
|
3
|
-
import { COLOR } from
|
|
1
|
+
import { Lucide, Icon as TelegraphIcon } from '@telegraph/icon';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { COLOR } from './Tag.constants';
|
|
4
|
+
|
|
4
5
|
type RootBaseProps = {
|
|
5
6
|
size?: "1" | "2";
|
|
6
7
|
color?: keyof (typeof COLOR.Root)["soft"];
|
|
@@ -20,7 +21,7 @@ declare const Text: React.ForwardRefExoticComponent<Omit<Omit<React.HTMLAttribut
|
|
|
20
21
|
color?: "white" | "default" | "gray" | "accent" | "red" | "blue" | "green" | "yellow" | "purple" | "beige" | "disabled" | undefined;
|
|
21
22
|
weight?: "regular" | "medium" | undefined;
|
|
22
23
|
} & React.RefAttributes<HTMLParagraphElement & HTMLSpanElement & HTMLDivElement & HTMLLabelElement & HTMLPreElement>, "as">>, "ref"> & React.RefAttributes<HTMLParagraphElement & HTMLSpanElement & HTMLDivElement & HTMLLabelElement & HTMLPreElement>>;
|
|
23
|
-
declare const Button: React.ForwardRefExoticComponent<Omit<import(
|
|
24
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<import('@telegraph/helpers').AsProp<React.ElementType<any, keyof React.JSX.IntrinsicElements>> & Omit<any, "as"> & {
|
|
24
25
|
variant?: "soft" | "solid" | "outline" | "ghost" | undefined;
|
|
25
26
|
size?: "1" | "2" | "3" | undefined;
|
|
26
27
|
color?: "gray" | "accent" | "red" | "blue" | "green" | "yellow" | "purple" | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tag } from
|
|
1
|
+
export { Tag } from './Tag';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tag } from
|
|
1
|
+
export { Tag } from './Tag';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telegraph/tag",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"repository": "https://github.com/knocklabs/telegraph/tree/main/packages/tag",
|
|
5
5
|
"author": "@knocklabs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"preview": "vite preview"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@telegraph/button": "^0.0.
|
|
37
|
+
"@telegraph/button": "^0.0.17",
|
|
38
38
|
"@telegraph/helpers": "^0.0.1",
|
|
39
|
-
"@telegraph/icon": "^0.0.
|
|
39
|
+
"@telegraph/icon": "^0.0.9",
|
|
40
40
|
"@telegraph/typography": "^0.0.10",
|
|
41
41
|
"clsx": "^2.1.0"
|
|
42
42
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@knocklabs/eslint-config": "^0.0.3",
|
|
45
45
|
"@knocklabs/prettier-config": "^0.0.1",
|
|
46
46
|
"@knocklabs/typescript-config": "^0.0.2",
|
|
47
|
-
"@telegraph/postcss-config": "^0.0.
|
|
47
|
+
"@telegraph/postcss-config": "^0.0.14",
|
|
48
48
|
"@telegraph/tailwind-config": "^0.0.11",
|
|
49
49
|
"@telegraph/vite-config": "^0.0.9",
|
|
50
50
|
"@telegraph/vitest-config": "^0.0.6",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react": "^18.2.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
55
|
"typescript": "^5.3.3",
|
|
56
|
-
"vite": "^5.
|
|
56
|
+
"vite": "^5.2.12",
|
|
57
57
|
"vitest": "^1.2.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
-
import { Tag as TelegraphTag } from "./Tag";
|
|
4
|
-
declare const meta: Meta<typeof TelegraphTag>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type StorybookTagType = Omit<React.ComponentProps<typeof TelegraphTag>, "icon"> & {
|
|
7
|
-
icon?: string;
|
|
8
|
-
};
|
|
9
|
-
type Story = StoryObj<StorybookTagType>;
|
|
10
|
-
export declare const Tag: Story;
|
|
11
|
-
//# sourceMappingURL=Tag.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/Tag/Tag.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,OAAO,CAAC;AAK5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAwCnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,gBAAgB,GAAG,IAAI,CAC1B,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EACzC,MAAM,CACP,GAAG;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,KAoBjB,CAAC"}
|