@instructure/ui-tag 11.6.0 → 11.6.1-snapshot-129
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 +36 -284
- package/es/Tag/{index.js → v1/index.js} +2 -2
- package/es/Tag/v2/index.js +163 -0
- package/es/Tag/v2/props.js +26 -0
- package/es/Tag/v2/styles.js +208 -0
- package/es/{index.js → exports/a.js} +1 -1
- package/{src/index.ts → es/exports/b.js} +1 -3
- package/lib/Tag/{index.js → v1/index.js} +5 -5
- package/lib/Tag/v2/index.js +168 -0
- package/lib/Tag/v2/props.js +31 -0
- package/lib/Tag/v2/styles.js +213 -0
- package/lib/{index.js → exports/a.js} +2 -2
- package/lib/exports/b.js +12 -0
- package/package.json +41 -19
- package/src/Tag/{index.tsx → v1/index.tsx} +3 -3
- package/src/Tag/{props.ts → v1/props.ts} +1 -1
- package/src/Tag/v2/README.md +119 -0
- package/src/Tag/v2/index.tsx +180 -0
- package/src/Tag/v2/props.ts +93 -0
- package/src/Tag/v2/styles.ts +219 -0
- package/src/exports/a.ts +26 -0
- package/src/exports/b.ts +26 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Tag/{index.d.ts → v1/index.d.ts} +1 -1
- package/types/Tag/v1/index.d.ts.map +1 -0
- package/types/Tag/{props.d.ts → v1/props.d.ts} +1 -1
- package/types/Tag/v1/props.d.ts.map +1 -0
- package/types/Tag/v1/styles.d.ts.map +1 -0
- package/types/Tag/v1/theme.d.ts.map +1 -0
- package/types/Tag/v2/index.d.ts +48 -0
- package/types/Tag/v2/index.d.ts.map +1 -0
- package/types/Tag/v2/props.d.ts +46 -0
- package/types/Tag/v2/props.d.ts.map +1 -0
- package/types/Tag/v2/styles.d.ts +15 -0
- package/types/Tag/v2/styles.d.ts.map +1 -0
- package/types/exports/a.d.ts +3 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/exports/b.d.ts +3 -0
- package/types/exports/b.d.ts.map +1 -0
- package/types/Tag/index.d.ts.map +0 -1
- package/types/Tag/props.d.ts.map +0 -1
- package/types/Tag/styles.d.ts.map +0 -1
- package/types/Tag/theme.d.ts.map +0 -1
- package/types/index.d.ts +0 -3
- package/types/index.d.ts.map +0 -1
- /package/es/Tag/{props.js → v1/props.js} +0 -0
- /package/es/Tag/{styles.js → v1/styles.js} +0 -0
- /package/es/Tag/{theme.js → v1/theme.js} +0 -0
- /package/lib/Tag/{props.js → v1/props.js} +0 -0
- /package/lib/Tag/{styles.js → v1/styles.js} +0 -0
- /package/lib/Tag/{theme.js → v1/theme.js} +0 -0
- /package/src/Tag/{README.md → v1/README.md} +0 -0
- /package/src/Tag/{styles.ts → v1/styles.ts} +0 -0
- /package/src/Tag/{theme.ts → v1/theme.ts} +0 -0
- /package/types/Tag/{styles.d.ts → v1/styles.d.ts} +0 -0
- /package/types/Tag/{theme.d.ts → v1/theme.d.ts} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import React from 'react'
|
|
26
|
+
import type { ViewProps } from '@instructure/ui-view/latest'
|
|
27
|
+
import type {
|
|
28
|
+
Spacing,
|
|
29
|
+
WithStyleProps,
|
|
30
|
+
ComponentStyle
|
|
31
|
+
} from '@instructure/emotion'
|
|
32
|
+
import type { OtherHTMLAttributes, TagTheme } from '@instructure/shared-types'
|
|
33
|
+
|
|
34
|
+
type TagOwnProps = {
|
|
35
|
+
className?: string
|
|
36
|
+
text: string | React.ReactNode
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated since version 10
|
|
39
|
+
* Use of the title attribute is highly problematic due to accessibility concerns
|
|
40
|
+
*/
|
|
41
|
+
title?: string
|
|
42
|
+
/**
|
|
43
|
+
* Whether or not to disable the tag
|
|
44
|
+
*/
|
|
45
|
+
disabled?: boolean
|
|
46
|
+
/**
|
|
47
|
+
* Works just like disabled but keeps the same styles as if it were active
|
|
48
|
+
*/
|
|
49
|
+
readOnly?: boolean
|
|
50
|
+
dismissible?: boolean
|
|
51
|
+
/**
|
|
52
|
+
* Valid values are `0`, `none`, `auto`, `xxxx-small`, `xx-small`, `x-small`,
|
|
53
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
54
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
55
|
+
*/
|
|
56
|
+
margin?: Spacing
|
|
57
|
+
/**
|
|
58
|
+
* If you add an onClick prop, Tag renders as a clickable button
|
|
59
|
+
*/
|
|
60
|
+
onClick?: (event: React.MouseEvent<ViewProps & Element>) => void
|
|
61
|
+
/**
|
|
62
|
+
* Provides a reference to the underlying html root element
|
|
63
|
+
*/
|
|
64
|
+
elementRef?: (element: Element | null) => void
|
|
65
|
+
size?: 'small' | 'medium' | 'large'
|
|
66
|
+
variant?: 'default' | 'inline'
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
type PropKeys = keyof TagOwnProps
|
|
70
|
+
|
|
71
|
+
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
72
|
+
|
|
73
|
+
type TagProps = TagOwnProps &
|
|
74
|
+
WithStyleProps<TagTheme, TagStyle> &
|
|
75
|
+
OtherHTMLAttributes<TagOwnProps>
|
|
76
|
+
|
|
77
|
+
type TagStyle = ComponentStyle<'tag' | 'text' | 'icon'>
|
|
78
|
+
const allowedProps: AllowedPropKeys = [
|
|
79
|
+
'className',
|
|
80
|
+
'text',
|
|
81
|
+
'title',
|
|
82
|
+
'disabled',
|
|
83
|
+
'readOnly',
|
|
84
|
+
'dismissible',
|
|
85
|
+
'margin',
|
|
86
|
+
'onClick',
|
|
87
|
+
'elementRef',
|
|
88
|
+
'size',
|
|
89
|
+
'variant'
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
export type { TagProps, TagStyle }
|
|
93
|
+
export { allowedProps }
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { NewComponentTypes, SharedTokens } from '@instructure/ui-themes'
|
|
26
|
+
import type { TagProps, TagStyle } from './props'
|
|
27
|
+
import { calcFocusOutlineStyles } from '@instructure/emotion'
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* ---
|
|
31
|
+
* private: true
|
|
32
|
+
* ---
|
|
33
|
+
* Generates the style object from the theme and provided additional information
|
|
34
|
+
* @param {Object} componentTheme The theme variable object.
|
|
35
|
+
* @param {Object} props the props of the component, the style is applied to
|
|
36
|
+
* @param {Object} sharedTokens the state of the component, the style is applied to
|
|
37
|
+
* @return {Object} The final style object, which will be used in the component
|
|
38
|
+
*/
|
|
39
|
+
const generateStyle = (
|
|
40
|
+
componentTheme: NewComponentTypes['Tag'],
|
|
41
|
+
props: TagProps,
|
|
42
|
+
sharedTokens: SharedTokens
|
|
43
|
+
): TagStyle => {
|
|
44
|
+
const { variant, size, dismissible, onClick, disabled } = props
|
|
45
|
+
|
|
46
|
+
const isButton = !!onClick
|
|
47
|
+
|
|
48
|
+
const sizeVariants = {
|
|
49
|
+
small: {
|
|
50
|
+
tag: {
|
|
51
|
+
paddingLeft: componentTheme.paddingHorizontalSmall,
|
|
52
|
+
paddingRight: componentTheme.paddingHorizontalSmall,
|
|
53
|
+
fontSize: componentTheme.fontSizeSmall
|
|
54
|
+
},
|
|
55
|
+
text: {
|
|
56
|
+
lineHeight: `calc(${componentTheme.heightSmall} - (${componentTheme.defaultBorderWidth} * 2))`
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
medium: {
|
|
60
|
+
tag: {
|
|
61
|
+
paddingLeft: componentTheme.paddingHorizontal,
|
|
62
|
+
paddingRight: componentTheme.paddingHorizontal,
|
|
63
|
+
fontSize: `calc(${componentTheme.fontSizeMedium} - 0.0625rem)`
|
|
64
|
+
},
|
|
65
|
+
text: {
|
|
66
|
+
lineHeight: `calc(${componentTheme.heightMedium} - (${componentTheme.defaultBorderWidth} * 2))`
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
large: {
|
|
70
|
+
tag: {
|
|
71
|
+
paddingLeft: componentTheme.paddingHorizontalSmall,
|
|
72
|
+
paddingRight: componentTheme.paddingHorizontal,
|
|
73
|
+
fontSize: `calc(${componentTheme.fontSizeLarge} - 0.0625rem)`
|
|
74
|
+
},
|
|
75
|
+
text: {
|
|
76
|
+
lineHeight: `calc(${componentTheme.heightLarge} - (${componentTheme.defaultBorderWidth} * 2))`
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const buttonVariant = isButton
|
|
82
|
+
? {
|
|
83
|
+
tag: {
|
|
84
|
+
touchAction: 'manipulation',
|
|
85
|
+
outline: 'none',
|
|
86
|
+
position: 'relative',
|
|
87
|
+
overflow: 'visible',
|
|
88
|
+
transition: `background-color ${componentTheme.transitionTiming}`,
|
|
89
|
+
...(!dismissible && { cursor: 'pointer' }),
|
|
90
|
+
|
|
91
|
+
'&:focus': {
|
|
92
|
+
'&::before': {
|
|
93
|
+
opacity: 1,
|
|
94
|
+
transform: 'scale(1)'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
...(disabled && {
|
|
99
|
+
cursor: 'not-allowed',
|
|
100
|
+
pointerEvents: 'none',
|
|
101
|
+
opacity: 0.5
|
|
102
|
+
})
|
|
103
|
+
},
|
|
104
|
+
tagBefore: {
|
|
105
|
+
content: '""',
|
|
106
|
+
boxSizing: 'border-box',
|
|
107
|
+
border: calcFocusOutlineStyles(sharedTokens.focusOutline),
|
|
108
|
+
position: 'absolute',
|
|
109
|
+
top: '-0.3125rem',
|
|
110
|
+
bottom: '-0.3125rem',
|
|
111
|
+
left: '-0.3125rem',
|
|
112
|
+
right: '-0.3125rem',
|
|
113
|
+
opacity: 0,
|
|
114
|
+
transform: 'scale(0.9)',
|
|
115
|
+
transition: `all ${componentTheme.transitionTiming}`,
|
|
116
|
+
pointerEvents: 'none'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
: {}
|
|
120
|
+
|
|
121
|
+
const tagVariantVariants = {
|
|
122
|
+
default: {
|
|
123
|
+
tag: {
|
|
124
|
+
backgroundColor: componentTheme.defaultBackground,
|
|
125
|
+
border: `${componentTheme.defaultBorderWidth} ${componentTheme.defaultBorderStyle} ${componentTheme.defaultBorderColor}`,
|
|
126
|
+
borderRadius: componentTheme.defaultBorderRadius,
|
|
127
|
+
color: componentTheme.defaultColor,
|
|
128
|
+
...(isButton && {
|
|
129
|
+
'&:hover': { backgroundColor: componentTheme.defaultBackgroundHover }
|
|
130
|
+
})
|
|
131
|
+
},
|
|
132
|
+
tagBefore: {
|
|
133
|
+
...(isButton && {
|
|
134
|
+
borderRadius: componentTheme.defaultBorderRadius
|
|
135
|
+
})
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
inline: {
|
|
139
|
+
tag: {
|
|
140
|
+
backgroundColor: componentTheme.inlineBackground,
|
|
141
|
+
border: `${componentTheme.inlineBorderWidth} ${componentTheme.inlineBorderStyle} ${componentTheme.inlineBorderColor}`,
|
|
142
|
+
borderRadius: componentTheme.inlineBorderRadius,
|
|
143
|
+
color: componentTheme.inlineColor,
|
|
144
|
+
cursor: 'text',
|
|
145
|
+
margin: '0 0.1875rem 0.1875rem',
|
|
146
|
+
...(isButton && {
|
|
147
|
+
'&:hover': { backgroundColor: componentTheme.inlineBackgroundHover }
|
|
148
|
+
})
|
|
149
|
+
},
|
|
150
|
+
tagBefore: {
|
|
151
|
+
...(isButton && {
|
|
152
|
+
borderRadius: `calc(${componentTheme.inlineBorderRadius} * 1.5)`
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
const inlineIconVariant =
|
|
159
|
+
variant === 'inline' && dismissible
|
|
160
|
+
? {
|
|
161
|
+
backgroundColor: componentTheme.inlineIconColor,
|
|
162
|
+
borderRadius: '50%',
|
|
163
|
+
padding: '0.25rem',
|
|
164
|
+
position: 'absolute',
|
|
165
|
+
insetInlineEnd: 0,
|
|
166
|
+
insetInlineStart: 'auto',
|
|
167
|
+
top: 0,
|
|
168
|
+
transform: 'translate(40%, -40%)',
|
|
169
|
+
display: 'flex',
|
|
170
|
+
alignItems: 'center',
|
|
171
|
+
justifyContent: 'center',
|
|
172
|
+
|
|
173
|
+
'[class$="-tag"]:hover > &': {
|
|
174
|
+
backgroundColor: componentTheme.inlineIconHoverColor
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
'[dir="rtl"] &': { transform: 'translate(-40%, -40%)' }
|
|
178
|
+
}
|
|
179
|
+
: {}
|
|
180
|
+
|
|
181
|
+
return {
|
|
182
|
+
tag: {
|
|
183
|
+
label: 'tag',
|
|
184
|
+
boxSizing: 'border-box',
|
|
185
|
+
fontFamily: componentTheme.fontFamily,
|
|
186
|
+
display: 'inline-flex',
|
|
187
|
+
alignItems: 'center',
|
|
188
|
+
textAlign: 'center',
|
|
189
|
+
verticalAlign: 'middle',
|
|
190
|
+
userSelect: 'none',
|
|
191
|
+
...sizeVariants[size!].tag,
|
|
192
|
+
...buttonVariant.tag,
|
|
193
|
+
...tagVariantVariants[variant!].tag,
|
|
194
|
+
|
|
195
|
+
'&::before': {
|
|
196
|
+
...buttonVariant.tagBefore,
|
|
197
|
+
...tagVariantVariants[variant!].tagBefore
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
text: {
|
|
201
|
+
label: 'tag__text',
|
|
202
|
+
whiteSpace: 'nowrap',
|
|
203
|
+
overflow: 'hidden',
|
|
204
|
+
textOverflow: 'ellipsis',
|
|
205
|
+
maxWidth: componentTheme.maxWidth,
|
|
206
|
+
...sizeVariants[size!].text
|
|
207
|
+
},
|
|
208
|
+
icon: {
|
|
209
|
+
label: 'tag__icon',
|
|
210
|
+
marginInlineStart: componentTheme.iconMargin,
|
|
211
|
+
marginInlineEnd: 0,
|
|
212
|
+
transition: `all ${componentTheme.transitionTiming}`,
|
|
213
|
+
cursor: 'pointer',
|
|
214
|
+
...inlineIconVariant
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export default generateStyle
|
package/src/exports/a.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
export { Tag } from '../Tag/v1'
|
|
26
|
+
export type { TagProps } from '../Tag/v1/props'
|
package/src/exports/b.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
export { Tag } from '../Tag/v2'
|
|
26
|
+
export type { TagProps } from '../Tag/v2/props'
|