@toptal/picasso-pagination 4.0.6-alpha-fx-null-button-overridable-a6bdbbaa2.0 → 4.0.7
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.
|
@@ -30,12 +30,12 @@ export const Pagination = forwardRef(function Pagination(props, ref) {
|
|
|
30
30
|
return (React.createElement(Container, { key: index, className: 'py-0 px-[0.5em] cursor-default' },
|
|
31
31
|
React.createElement(Typography, { size: 'xsmall', weight: 'semibold', color: 'black' }, ELLIPSIS)));
|
|
32
32
|
}
|
|
33
|
-
return (React.createElement(PaginationButton, { key: index, className: '[&+&]
|
|
33
|
+
return (React.createElement(PaginationButton, { key: index, className: '[&+&]:!ml-2', page: Number(page), activePage: activePage, disabled: disabled, onClick: onPageChange }));
|
|
34
34
|
});
|
|
35
35
|
return (React.createElement(Container, Object.assign({}, rest, { ref: ref, flex: true, inline: true, alignItems: 'center' }),
|
|
36
|
-
React.createElement(Button, { className: '[&+&]
|
|
36
|
+
React.createElement(Button, { className: '[&+&]:!ml-2', disabled: isFirstActive || disabled, onClick: handlePrevClick, variant: 'secondary', size: 'small' }, "Prev"),
|
|
37
37
|
variant === 'compact' ? null : pageButtons,
|
|
38
|
-
React.createElement(Button, { className: '[&+&]
|
|
38
|
+
React.createElement(Button, { className: '[&+&]:!ml-2', disabled: isLastActive || disabled, onClick: handleNextClick, variant: 'secondary', size: 'small' }, "Next")));
|
|
39
39
|
});
|
|
40
40
|
Pagination.defaultProps = {
|
|
41
41
|
disabled: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","sourceRoot":"","sources":["../../../src/Pagination/Pagination.tsx"],"names":[],"mappings":";;;;;;;;;;;AAEA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,2BA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IACxB,QAAQ,EAAE,KAAK;IACf,YAAY,EAAE,CAAC;IACf,OAAO,EAAE,SAAS;CACnB,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,eAAe,UAAU,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-pagination",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "Toptal UI components library - Pagination",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,31 +22,30 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-button": "4.0.
|
|
26
|
-
"@toptal/picasso-container": "3.1.
|
|
27
|
-
"@toptal/picasso-typography": "4.0.
|
|
28
|
-
"@toptal/picasso-utils": "2.0.
|
|
25
|
+
"@toptal/picasso-button": "4.0.7",
|
|
26
|
+
"@toptal/picasso-container": "3.1.0",
|
|
27
|
+
"@toptal/picasso-typography": "4.0.1",
|
|
28
|
+
"@toptal/picasso-utils": "2.0.0"
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": [
|
|
31
31
|
"**/styles.ts",
|
|
32
32
|
"**/styles.js"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"
|
|
35
|
+
"react": ">=16.12.0 < 19.0.0",
|
|
36
36
|
"@toptal/picasso-tailwind-merge": "^2.0.0",
|
|
37
|
-
"
|
|
37
|
+
"@toptal/picasso-tailwind": ">=2.7"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
".": "./dist-package/src/index.js"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@toptal/picasso-tailwind-merge": "2.0.
|
|
44
|
-
"@toptal/picasso-test-utils": "1.1.
|
|
43
|
+
"@toptal/picasso-tailwind-merge": "2.0.1",
|
|
44
|
+
"@toptal/picasso-test-utils": "1.1.1"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"dist-package/**",
|
|
48
48
|
"!dist-package/tsconfig.tsbuildinfo",
|
|
49
49
|
"src"
|
|
50
|
-
]
|
|
51
|
-
"gitHead": "a6bdbbaa25247c35686b5c9b17b14a02b9f497ba"
|
|
50
|
+
]
|
|
52
51
|
}
|
|
@@ -67,7 +67,7 @@ export const Pagination = forwardRef<HTMLDivElement, Props>(function Pagination(
|
|
|
67
67
|
return (
|
|
68
68
|
<PaginationButton
|
|
69
69
|
key={index}
|
|
70
|
-
className='[&+&]
|
|
70
|
+
className='[&+&]:!ml-2'
|
|
71
71
|
page={Number(page)}
|
|
72
72
|
activePage={activePage}
|
|
73
73
|
disabled={disabled}
|
|
@@ -79,7 +79,7 @@ export const Pagination = forwardRef<HTMLDivElement, Props>(function Pagination(
|
|
|
79
79
|
return (
|
|
80
80
|
<Container {...rest} ref={ref} flex inline alignItems='center'>
|
|
81
81
|
<Button
|
|
82
|
-
className='[&+&]
|
|
82
|
+
className='[&+&]:!ml-2'
|
|
83
83
|
disabled={isFirstActive || disabled}
|
|
84
84
|
onClick={handlePrevClick}
|
|
85
85
|
variant='secondary'
|
|
@@ -91,7 +91,7 @@ export const Pagination = forwardRef<HTMLDivElement, Props>(function Pagination(
|
|
|
91
91
|
{variant === 'compact' ? null : pageButtons}
|
|
92
92
|
|
|
93
93
|
<Button
|
|
94
|
-
className='[&+&]
|
|
94
|
+
className='[&+&]:!ml-2'
|
|
95
95
|
disabled={isLastActive || disabled}
|
|
96
96
|
onClick={handleNextClick}
|
|
97
97
|
variant='secondary'
|
|
@@ -10,7 +10,7 @@ exports[`Pagination renders 1`] = `
|
|
|
10
10
|
>
|
|
11
11
|
<button
|
|
12
12
|
aria-disabled="false"
|
|
13
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-6 py-0 px-3 [&+&]
|
|
13
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-6 py-0 px-3 [&+&]:!ml-2"
|
|
14
14
|
data-component-type="button"
|
|
15
15
|
role="button"
|
|
16
16
|
tabindex="0"
|
|
@@ -25,7 +25,7 @@ exports[`Pagination renders 1`] = `
|
|
|
25
25
|
<button
|
|
26
26
|
aria-current="false"
|
|
27
27
|
aria-disabled="false"
|
|
28
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
28
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
29
29
|
data-component-type="button"
|
|
30
30
|
role="button"
|
|
31
31
|
tabindex="0"
|
|
@@ -49,7 +49,7 @@ exports[`Pagination renders 1`] = `
|
|
|
49
49
|
<button
|
|
50
50
|
aria-current="false"
|
|
51
51
|
aria-disabled="false"
|
|
52
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
52
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
53
53
|
data-component-type="button"
|
|
54
54
|
role="button"
|
|
55
55
|
tabindex="0"
|
|
@@ -64,7 +64,7 @@ exports[`Pagination renders 1`] = `
|
|
|
64
64
|
<button
|
|
65
65
|
aria-current="false"
|
|
66
66
|
aria-disabled="false"
|
|
67
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
67
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
68
68
|
data-component-type="button"
|
|
69
69
|
role="button"
|
|
70
70
|
tabindex="0"
|
|
@@ -79,7 +79,7 @@ exports[`Pagination renders 1`] = `
|
|
|
79
79
|
<button
|
|
80
80
|
aria-current="true"
|
|
81
81
|
aria-disabled="false"
|
|
82
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] shadow-none border border-solid hover:border-black visited:text-black h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white bg-graphite border-graphite text-white disabled:text-gray [&+&]
|
|
82
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] shadow-none border border-solid hover:border-black visited:text-black h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white bg-graphite border-graphite text-white disabled:text-gray [&+&]:!ml-2"
|
|
83
83
|
data-component-type="button"
|
|
84
84
|
role="button"
|
|
85
85
|
tabindex="0"
|
|
@@ -94,7 +94,7 @@ exports[`Pagination renders 1`] = `
|
|
|
94
94
|
<button
|
|
95
95
|
aria-current="false"
|
|
96
96
|
aria-disabled="false"
|
|
97
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
97
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
98
98
|
data-component-type="button"
|
|
99
99
|
role="button"
|
|
100
100
|
tabindex="0"
|
|
@@ -109,7 +109,7 @@ exports[`Pagination renders 1`] = `
|
|
|
109
109
|
<button
|
|
110
110
|
aria-current="false"
|
|
111
111
|
aria-disabled="false"
|
|
112
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
112
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
113
113
|
data-component-type="button"
|
|
114
114
|
role="button"
|
|
115
115
|
tabindex="0"
|
|
@@ -133,7 +133,7 @@ exports[`Pagination renders 1`] = `
|
|
|
133
133
|
<button
|
|
134
134
|
aria-current="false"
|
|
135
135
|
aria-disabled="false"
|
|
136
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]
|
|
136
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black bg-white border-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray [&+&]:!ml-2"
|
|
137
137
|
data-component-type="button"
|
|
138
138
|
role="button"
|
|
139
139
|
tabindex="0"
|
|
@@ -147,7 +147,7 @@ exports[`Pagination renders 1`] = `
|
|
|
147
147
|
</button>
|
|
148
148
|
<button
|
|
149
149
|
aria-disabled="false"
|
|
150
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-6 py-0 px-3 [&+&]
|
|
150
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-6 py-0 px-3 [&+&]:!ml-2"
|
|
151
151
|
data-component-type="button"
|
|
152
152
|
role="button"
|
|
153
153
|
tabindex="0"
|
|
@@ -174,7 +174,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
174
174
|
>
|
|
175
175
|
<button
|
|
176
176
|
aria-disabled="true"
|
|
177
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid text-gray visited:text-gray border-gray bg-white min-w h-6 py-0 px-3 [&+&]
|
|
177
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid text-gray visited:text-gray border-gray bg-white min-w h-6 py-0 px-3 [&+&]:!ml-2"
|
|
178
178
|
data-component-type="button"
|
|
179
179
|
disabled=""
|
|
180
180
|
role="button"
|
|
@@ -190,7 +190,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
190
190
|
<button
|
|
191
191
|
aria-current="false"
|
|
192
192
|
aria-disabled="true"
|
|
193
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
193
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
194
194
|
data-component-type="button"
|
|
195
195
|
disabled=""
|
|
196
196
|
role="button"
|
|
@@ -215,7 +215,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
215
215
|
<button
|
|
216
216
|
aria-current="false"
|
|
217
217
|
aria-disabled="true"
|
|
218
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
218
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
219
219
|
data-component-type="button"
|
|
220
220
|
disabled=""
|
|
221
221
|
role="button"
|
|
@@ -231,7 +231,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
231
231
|
<button
|
|
232
232
|
aria-current="false"
|
|
233
233
|
aria-disabled="true"
|
|
234
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
234
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
235
235
|
data-component-type="button"
|
|
236
236
|
disabled=""
|
|
237
237
|
role="button"
|
|
@@ -247,7 +247,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
247
247
|
<button
|
|
248
248
|
aria-current="true"
|
|
249
249
|
aria-disabled="true"
|
|
250
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white bg-graphite border-graphite disabled:text-gray text-gray [&+&]
|
|
250
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white bg-graphite border-graphite disabled:text-gray text-gray [&+&]:!ml-2"
|
|
251
251
|
data-component-type="button"
|
|
252
252
|
disabled=""
|
|
253
253
|
role="button"
|
|
@@ -263,7 +263,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
263
263
|
<button
|
|
264
264
|
aria-current="false"
|
|
265
265
|
aria-disabled="true"
|
|
266
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
266
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
267
267
|
data-component-type="button"
|
|
268
268
|
disabled=""
|
|
269
269
|
role="button"
|
|
@@ -279,7 +279,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
279
279
|
<button
|
|
280
280
|
aria-current="false"
|
|
281
281
|
aria-disabled="true"
|
|
282
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
282
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
283
283
|
data-component-type="button"
|
|
284
284
|
disabled=""
|
|
285
285
|
role="button"
|
|
@@ -304,7 +304,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
304
304
|
<button
|
|
305
305
|
aria-current="false"
|
|
306
306
|
aria-disabled="true"
|
|
307
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]
|
|
307
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid visited:text-gray border-gray bg-white h-6 py-0 min-w px-[0.3em] active:bg-graphite active:border-graphite active:text-white disabled:text-gray text-gray [&+&]:!ml-2"
|
|
308
308
|
data-component-type="button"
|
|
309
309
|
disabled=""
|
|
310
310
|
role="button"
|
|
@@ -319,7 +319,7 @@ exports[`Pagination renders disabled 1`] = `
|
|
|
319
319
|
</button>
|
|
320
320
|
<button
|
|
321
321
|
aria-disabled="true"
|
|
322
|
-
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid text-gray visited:text-gray border-gray bg-white min-w h-6 py-0 px-3 [&+&]
|
|
322
|
+
class="base-Button base- text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-default pointer-events no-underline hover:no-underline rounded-sm shadow-none border border-solid text-gray visited:text-gray border-gray bg-white min-w h-6 py-0 px-3 [&+&]:!ml-2"
|
|
323
323
|
data-component-type="button"
|
|
324
324
|
disabled=""
|
|
325
325
|
role="button"
|
package/LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021-2022 Toptal, LLC
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the “Software”), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|