@licklist/design 0.78.5-dev.63 → 0.78.5-dev.66
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/dist/index.js +1 -1
- package/dist/provider/location-input/LocationInput.js +1 -1
- package/dist/v2/components/Badge/Badge.d.ts +1 -0
- package/dist/v2/components/Badge/Badge.d.ts.map +1 -1
- package/dist/v2/components/Badge/Badge.js +2 -1
- package/dist/v2/components/Badge/Badge.scss.js +1 -1
- package/dist/v2/components/QuickFilter/QuickFilter.scss.js +1 -1
- package/dist/v2/components/TableSortIcon/TableSortIcon.d.ts.map +1 -1
- package/dist/v2/components/TableSortIcon/TableSortIcon.js +5 -3
- package/dist/v2/components/index.d.ts +1 -1
- package/dist/v2/components/index.d.ts.map +1 -1
- package/dist/v2/icons/index.d.ts +2 -0
- package/dist/v2/icons/index.d.ts.map +1 -1
- package/dist/v2/icons/index.js +35 -3
- package/package.json +3 -3
- package/src/provider/location-input/LocationInput.tsx +1 -1
- package/src/v2/components/Badge/Badge.scss +25 -23
- package/src/v2/components/Badge/Badge.tsx +3 -0
- package/src/v2/components/Customer/CustomersList.scss +60 -9
- package/src/v2/components/QuickFilter/QuickFilter.scss +14 -3
- package/src/v2/components/TableSortIcon/TableSortIcon.tsx +3 -5
- package/src/v2/components/index.ts +2 -0
- package/src/v2/icons/index.tsx +14 -2
package/dist/index.js
CHANGED
|
@@ -219,7 +219,7 @@ export { AnalyticsIcon, CustomersIcon, FlowsIcon, HomeIcon, InventoryIcon, Loyal
|
|
|
219
219
|
export { AdminSidebar } from './v2/navigation/DashboardLayout/AdminSidebar.js';
|
|
220
220
|
export { TopNavigation } from './v2/navigation/DashboardLayout/TopNavigation.js';
|
|
221
221
|
export { DashboardFooter } from './v2/navigation/DashboardLayout/DashboardFooter.js';
|
|
222
|
-
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, ClockIcon, CloseIcon, DeleteIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, GripVerticalIcon, InfoIcon, PlusIcon, RefreshIcon, SearchIcon, SendIcon } from './v2/icons/index.js';
|
|
222
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, ClockIcon, CloseIcon, DeleteIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, GripVerticalIcon, InfoIcon, PlusIcon, RefreshIcon, SearchIcon, SendIcon, TableHeaderArrowDownIcon, TableHeaderArrowUpIcon } from './v2/icons/index.js';
|
|
223
223
|
export { SettingsPage } from './v2/pages/Settings/SettingsPage.js';
|
|
224
224
|
export { SettingsTabs } from './v2/pages/Settings/SettingsTabs.js';
|
|
225
225
|
export { SidebarCustomisation, defaultSidebarItems } from './v2/pages/Settings/components/SidebarCustomisation.js';
|
|
@@ -129,7 +129,7 @@ function LocationInput(param) {
|
|
|
129
129
|
disabled: true,
|
|
130
130
|
children: t('chooseTimeZone')
|
|
131
131
|
}, ""),
|
|
132
|
-
data.map(function(zone) {
|
|
132
|
+
data === null || data === void 0 ? void 0 : data.map(function(zone) {
|
|
133
133
|
return /*#__PURE__*/ jsx("option", {
|
|
134
134
|
value: zone.id.toString(),
|
|
135
135
|
children: zone.name
|
|
@@ -5,6 +5,7 @@ export interface BadgeProps {
|
|
|
5
5
|
variant?: 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
6
6
|
className?: string;
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
8
9
|
}
|
|
9
10
|
export declare const Badge: React.FC<BadgeProps>;
|
|
10
11
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;CACxC;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgBtC,CAAA"}
|
|
@@ -3,9 +3,10 @@ import 'react';
|
|
|
3
3
|
import './Badge.scss.js';
|
|
4
4
|
|
|
5
5
|
var Badge = function(param) {
|
|
6
|
-
var children = param.children, _param_variant = param.variant, variant = _param_variant === void 0 ? 'neutral' : _param_variant, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, icon = param.icon;
|
|
6
|
+
var children = param.children, _param_variant = param.variant, variant = _param_variant === void 0 ? 'neutral' : _param_variant, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, icon = param.icon, onClick = param.onClick;
|
|
7
7
|
return /*#__PURE__*/ jsxs("span", {
|
|
8
8
|
className: "new-badge new-badge--".concat(variant, " ").concat(icon ? 'new-badge--with-icon' : '', " ").concat(className),
|
|
9
|
+
onClick: onClick,
|
|
9
10
|
children: [
|
|
10
11
|
icon && /*#__PURE__*/ jsx("span", {
|
|
11
12
|
className: "new-badge__icon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".new-badge{align-items:center;
|
|
3
|
+
var css_248z = ".new-badge{align-items:center;color:var(--label-primary,#121e52);display:inline-flex;font-family:var(--font-family-mono,\"Geist Mono\",monospace);font-size:11px;font-style:normal;font-weight:600;gap:1px;height:28px;justify-content:center;line-height:14px;padding:6px 10px}.new-badge--with-icon{padding-left:6px}.new-badge__icon{align-items:center;display:inline-flex;justify-content:center}.new-badge__icon svg{height:18px;width:18px}.new-badge--success{background:var(--surface-colour-green-soft,#eef9ea);border:1px solid var(--border-status-success,#c9ecbd);border-radius:var(--padding-lg,24px)}.new-badge--danger{background:var(--surface-colour-red-soft,#fceceb);border:1px solid var(--border-status-error,#f5c4c2);border-radius:var(--padding-lg,24px)}.new-badge--warning{background:var(--surface-colour-yellow-soft,#fcf6e7);border:1px solid var(--border-status-alert,#fed7b6);border-radius:var(--padding-lg,24px)}.new-badge--info{background:var(--surface-colour-blue-soft,#e7f4fc);border:1px solid var(--border-status-info,#b4dbf6);border-radius:var(--padding-lg,24px)}.new-badge--neutral{background-color:var(--surface-secondary,#f8f8fa);border:1px solid var(--border-colour-overlay,#121e521a);border-radius:var(--padding-lg,24px);color:var(--label-secondary,#9399b3)}@media (max-width:768px){.new-badge{font-size:12px;padding:1px 10px}.new-badge--with-icon{padding-left:6px}}@media (max-width:480px){.new-badge{font-size:11px;padding:1px 10px}.new-badge--with-icon{padding-left:6px}}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".quick-filter{align-items:center;display:flex;gap:12px}.quick-filter__label{color:var(--label-secondary,#9399b3);font-size:var(--text-small-size,13px);font-weight:500;white-space:nowrap}.quick-filter__options{display:flex;flex-wrap:
|
|
3
|
+
var css_248z = ".quick-filter{align-items:center;display:flex;gap:12px}.quick-filter__label{color:var(--label-secondary,#9399b3);font-size:var(--text-small-size,13px);font-weight:500;white-space:nowrap}.quick-filter__options{-ms-overflow-style:none;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.quick-filter__options::-webkit-scrollbar{display:none}.quick-filter__options .ghost-button{border-radius:100px;flex-shrink:0;font-family:var(--font-family-mono,\"Geist Mono\",monospace)}@media (max-width:768px){.quick-filter{align-items:center;display:flex;flex-direction:row;gap:12px;width:100%}.quick-filter__label{font-size:12px}.quick-filter__options{display:flex;flex:1;flex-wrap:nowrap;gap:6px;margin:0;min-width:0;overflow-x:auto;padding:0}.quick-filter__options .ghost-button{border-radius:100px;flex-shrink:0}}@media (max-width:480px){.quick-filter{gap:8px}.quick-filter__label{font-size:11px}.quick-filter__options{gap:4px}}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSortIcon.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/TableSortIcon/TableSortIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;AAEjD,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,aAAa,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"TableSortIcon.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/TableSortIcon/TableSortIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,CAAA;AAEjD,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,aAAa,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAMtD,CAAA"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { TableHeaderArrowUpIcon, TableHeaderArrowDownIcon } from '../../icons/index.js';
|
|
4
4
|
|
|
5
5
|
var TableSortIcon = function(param) {
|
|
6
6
|
var _param_active = param.active, active = _param_active === void 0 ? false : _param_active, direction = param.direction, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className;
|
|
7
|
-
if (!active || !direction) return null;
|
|
8
7
|
return /*#__PURE__*/ jsx("span", {
|
|
9
8
|
className: className,
|
|
10
|
-
|
|
9
|
+
style: {
|
|
10
|
+
visibility: active && direction ? 'visible' : 'hidden'
|
|
11
|
+
},
|
|
12
|
+
children: direction === 'asc' ? /*#__PURE__*/ jsx(TableHeaderArrowUpIcon, {}) : /*#__PURE__*/ jsx(TableHeaderArrowDownIcon, {})
|
|
11
13
|
});
|
|
12
14
|
};
|
|
13
15
|
|
|
@@ -37,5 +37,5 @@ export { Pagination } from './Pagination';
|
|
|
37
37
|
export type { PaginationProps } from './Pagination';
|
|
38
38
|
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './ZoneCard';
|
|
39
39
|
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, AddResourceButtonProps } from './ZoneCard';
|
|
40
|
-
export { InfoIcon, ArrowUpIcon, ArrowDownIcon, EditIcon, ArrowLeftIcon, ArrowRightIcon, SearchIcon, RefreshIcon, SendIcon, ExternalLinkIcon, ExportIcon, ClearIcon, CloseIcon, EllipsisIcon, CircleIcon, GripVerticalIcon, PlusIcon, DeleteIcon, ClockIcon } from '../icons';
|
|
40
|
+
export { InfoIcon, TableHeaderArrowUpIcon, TableHeaderArrowDownIcon, ArrowUpIcon, ArrowDownIcon, EditIcon, ArrowLeftIcon, ArrowRightIcon, SearchIcon, RefreshIcon, SendIcon, ExternalLinkIcon, ExportIcon, ClearIcon, CloseIcon, EllipsisIcon, CircleIcon, GripVerticalIcon, PlusIcon, DeleteIcon, ClockIcon } from '../icons';
|
|
41
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB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a,CAAA;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAChG,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAG7J,OAAO,EACL,QAAQ,EACR,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,aAAa,EACb,QAAQ,EACR,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,SAAS,EACV,MAAM,UAAU,CAAA"}
|
package/dist/v2/icons/index.d.ts
CHANGED
|
@@ -45,6 +45,8 @@ export declare const InfoIcon: ({ width, height }?: {
|
|
|
45
45
|
width?: number;
|
|
46
46
|
height?: number;
|
|
47
47
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare const TableHeaderArrowUpIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare const TableHeaderArrowDownIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
48
50
|
export declare const ArrowUpIcon: ({ width, height }?: {
|
|
49
51
|
width?: number;
|
|
50
52
|
height?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/icons/index.tsx"],"names":[],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;AAED,eAAO,MAAM,YAAY,GAAI,oCAA6D,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,4CAIhL,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,+CAA4F,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,4CAI7M,CAAA;AAED,eAAO,MAAM,YAAY,+CAKxB,CAAA;AAED,eAAO,MAAM,eAAe,+CAK3B,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,kBAAyB;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,4CAsBnG,CAAA;AAED,eAAO,MAAM,eAAe,+CAI3B,CAAA;AAED,eAAO,MAAM,gBAAgB,+CAK5B,CAAA;AAED,eAAO,MAAM,UAAU,+CAyBtB,CAAA;AAED,eAAO,MAAM,oBAAoB,+CAsBhC,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,oBAA6B;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,4CAI/F,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,oBAA6B;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,4CAI9F,CAAA"}
|
package/dist/v2/icons/index.js
CHANGED
|
@@ -213,7 +213,7 @@ var SearchIcon = function() {
|
|
|
213
213
|
fill: "none",
|
|
214
214
|
children: /*#__PURE__*/ jsx("path", {
|
|
215
215
|
d: "M14.6593 13.7979L17.2683 16.4068L16.4068 17.2684L13.7978 14.6594C12.8597 15.4099 11.67 15.8589 10.3761 15.8589C7.34958 15.8589 4.89331 13.4026 4.89331 10.3761C4.89331 7.34965 7.34958 4.89337 10.3761 4.89337C13.4025 4.89337 15.8588 7.34965 15.8588 10.3761C15.8588 11.6701 15.4098 12.8598 14.6593 13.7979ZM13.4371 13.3458C14.182 12.5781 14.6404 11.5309 14.6404 10.3761C14.6404 8.02006 12.7321 6.11176 10.3761 6.11176C8.02 6.11176 6.1117 8.02006 6.1117 10.3761C6.1117 12.7322 8.02 14.6405 10.3761 14.6405C11.5309 14.6405 12.5781 14.1821 13.3458 13.4371L13.4371 13.3458Z",
|
|
216
|
-
fill: "
|
|
216
|
+
fill: "currentColor"
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
};
|
|
@@ -241,7 +241,7 @@ var SendIcon = function() {
|
|
|
241
241
|
fill: "none",
|
|
242
242
|
children: /*#__PURE__*/ jsx("path", {
|
|
243
243
|
d: "M18 6C18.4142 6 18.75 6.33579 18.75 6.75V12.75H17.25V9.17871L11.3037 14.5039L5.25 9.16211V17.25H18V18.75H4.5C4.08579 18.75 3.75 18.4142 3.75 18V6.75C3.75 6.33579 4.08579 6 4.5 6H18ZM24 15L20.25 18V15.75H15V14.25H20.25V12L24 15ZM11.2969 12.4961L16.876 7.5H5.63379L11.2969 12.4961Z",
|
|
244
|
-
fill: "
|
|
244
|
+
fill: "currentColor"
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
};
|
|
@@ -342,6 +342,38 @@ var InfoIcon = function() {
|
|
|
342
342
|
})
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
+
var TableHeaderArrowUpIcon = function() {
|
|
346
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
347
|
+
width: "11",
|
|
348
|
+
height: "6",
|
|
349
|
+
viewBox: "0 0 11 6",
|
|
350
|
+
fill: "none",
|
|
351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
352
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
353
|
+
d: "M10 5L5.5 1L1 5",
|
|
354
|
+
stroke: "currentColor",
|
|
355
|
+
strokeWidth: "2",
|
|
356
|
+
strokeLinecap: "round",
|
|
357
|
+
strokeLinejoin: "round"
|
|
358
|
+
})
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
var TableHeaderArrowDownIcon = function() {
|
|
362
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
363
|
+
width: "11",
|
|
364
|
+
height: "6",
|
|
365
|
+
viewBox: "0 0 11 6",
|
|
366
|
+
fill: "none",
|
|
367
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
368
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
369
|
+
d: "M1 1L5.5 5L10 1",
|
|
370
|
+
stroke: "currentColor",
|
|
371
|
+
strokeWidth: "2",
|
|
372
|
+
strokeLinecap: "round",
|
|
373
|
+
strokeLinejoin: "round"
|
|
374
|
+
})
|
|
375
|
+
});
|
|
376
|
+
};
|
|
345
377
|
var ArrowUpIcon = function() {
|
|
346
378
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 20 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 20 : _ref_height;
|
|
347
379
|
return /*#__PURE__*/ jsx("svg", {
|
|
@@ -500,4 +532,4 @@ var ClockIcon = function() {
|
|
|
500
532
|
});
|
|
501
533
|
};
|
|
502
534
|
|
|
503
|
-
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, ClockIcon, CloseIcon, CustomersIcon, DeleteIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, GripVerticalIcon, InfoIcon, LoyaltyIcon, MarketingIcon, PlusIcon, RefreshIcon, SearchIcon, SendIcon, SettingsIcon, WaiversIcon };
|
|
535
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, ClockIcon, CloseIcon, CustomersIcon, DeleteIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, GripVerticalIcon, InfoIcon, LoyaltyIcon, MarketingIcon, PlusIcon, RefreshIcon, SearchIcon, SendIcon, SettingsIcon, TableHeaderArrowDownIcon, TableHeaderArrowUpIcon, WaiversIcon };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.78.5-dev.
|
|
3
|
+
"version": "0.78.5-dev.66",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/bookedit-licklist/licklist_design.git"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@licklist/core": "0.36.1-dev.
|
|
45
|
+
"@licklist/core": "0.36.1-dev.16",
|
|
46
46
|
"@licklist/eslint-config": "0.5.6",
|
|
47
47
|
"@licklist/plugins": "0.36.4-dev.13",
|
|
48
48
|
"clsx": "2.1.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@dnd-kit/utilities": "2.0.0",
|
|
65
65
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
66
66
|
"@fortawesome/free-solid-svg-icons": "5.15.2",
|
|
67
|
-
"@licklist/core": "0.36.1-dev.
|
|
67
|
+
"@licklist/core": "0.36.1-dev.16",
|
|
68
68
|
"@licklist/eslint-config": "0.5.6",
|
|
69
69
|
"@licklist/plugins": "0.36.4-dev.13",
|
|
70
70
|
"@mantine/core": "6.0.22",
|
|
@@ -71,7 +71,7 @@ export function LocationInput({ path }: { path: TimeZonePath }) {
|
|
|
71
71
|
<option key='' value='' disabled>
|
|
72
72
|
{t('chooseTimeZone')}
|
|
73
73
|
</option>
|
|
74
|
-
{data
|
|
74
|
+
{data?.map((zone) => (
|
|
75
75
|
<option key={zone.id} value={zone.id.toString()}>
|
|
76
76
|
{zone.name}
|
|
77
77
|
</option>
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
.new-badge {
|
|
2
|
+
font-family: var(--font-family-mono, 'Geist Mono', monospace);
|
|
2
3
|
display: inline-flex;
|
|
3
|
-
|
|
4
|
+
padding: 6px 10px;
|
|
4
5
|
justify-content: center;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 1px;
|
|
8
|
+
color: var(--label-primary, #121E52);
|
|
9
|
+
font-size: 11px;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
line-height: 14px;
|
|
13
|
+
height: 28px;
|
|
7
14
|
|
|
8
15
|
&--with-icon {
|
|
9
|
-
padding-left:
|
|
16
|
+
padding-left: 6px;
|
|
10
17
|
}
|
|
11
|
-
font-family: var(--font-family-mono, 'Geist Mono', monospace);
|
|
12
|
-
font-size: var(--text-small-size, 13px);
|
|
13
|
-
font-weight: 500;
|
|
14
|
-
line-height: 1.2;
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
gap: 4px;
|
|
17
18
|
|
|
18
19
|
&__icon {
|
|
19
20
|
display: inline-flex;
|
|
@@ -21,39 +22,40 @@
|
|
|
21
22
|
justify-content: center;
|
|
22
23
|
|
|
23
24
|
svg {
|
|
24
|
-
width:
|
|
25
|
-
height:
|
|
25
|
+
width: 18px;
|
|
26
|
+
height: 18px;
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
&--success {
|
|
30
|
-
|
|
31
|
-
color: var(--label-status-success, #3A8A1F);
|
|
31
|
+
border-radius: var(--padding-lg, 24px);
|
|
32
32
|
border: 1px solid var(--border-status-success, #C9ECBD);
|
|
33
|
+
background: var(--surface-colour-green-soft, #EEF9EA);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
&--danger {
|
|
36
|
-
|
|
37
|
-
color: var(--label-status-error, #CC3C35);
|
|
37
|
+
border-radius: var(--padding-lg, 24px);
|
|
38
38
|
border: 1px solid var(--border-status-error, #F5C4C2);
|
|
39
|
+
background: var(--surface-colour-red-soft, #FCECEB);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
&--warning {
|
|
42
|
-
|
|
43
|
-
color: var(--label-status-alert, #FD7E14);
|
|
43
|
+
border-radius: var(--padding-lg, 24px);
|
|
44
44
|
border: 1px solid var(--border-status-alert, #FED7B6);
|
|
45
|
+
background: var(--surface-colour-yellow-soft, #FCF6E7);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
&--info {
|
|
48
|
-
|
|
49
|
-
color: var(--label-status-info, #0D7FCE);
|
|
49
|
+
border-radius: var(--padding-lg, 24px);
|
|
50
50
|
border: 1px solid var(--border-status-info, #B4DBF6);
|
|
51
|
+
background: var(--surface-colour-blue-soft, #E7F4FC);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
&--neutral {
|
|
54
55
|
background-color: var(--surface-secondary, #F8F8FA);
|
|
55
56
|
color: var(--label-secondary, #9399B3);
|
|
56
|
-
border:
|
|
57
|
+
border-radius: var(--padding-lg, 24px);
|
|
58
|
+
border: 1px solid var(--border-colour-overlay, rgba(18, 30, 82, 0.10));
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -71,11 +73,11 @@
|
|
|
71
73
|
|
|
72
74
|
@media (max-width: 480px) {
|
|
73
75
|
.new-badge {
|
|
74
|
-
padding: 1px
|
|
76
|
+
padding: 1px 10px;
|
|
75
77
|
font-size: 11px;
|
|
76
78
|
|
|
77
79
|
&--with-icon {
|
|
78
|
-
padding-left:
|
|
80
|
+
padding-left: 6px;
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
}
|
|
@@ -6,6 +6,7 @@ export interface BadgeProps {
|
|
|
6
6
|
variant?: 'success' | 'danger' | 'warning' | 'info' | 'neutral'
|
|
7
7
|
className?: string
|
|
8
8
|
icon?: React.ReactNode
|
|
9
|
+
onClick?: (e: React.MouseEvent) => void
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export const Badge: React.FC<BadgeProps> = ({
|
|
@@ -13,11 +14,13 @@ export const Badge: React.FC<BadgeProps> = ({
|
|
|
13
14
|
variant = 'neutral',
|
|
14
15
|
className = '',
|
|
15
16
|
icon,
|
|
17
|
+
onClick,
|
|
16
18
|
}) => (
|
|
17
19
|
<span
|
|
18
20
|
className={`new-badge new-badge--${variant} ${
|
|
19
21
|
icon ? 'new-badge--with-icon' : ''
|
|
20
22
|
} ${className}`}
|
|
23
|
+
onClick={onClick}
|
|
21
24
|
>
|
|
22
25
|
{icon && <span className="new-badge__icon">{icon}</span>}
|
|
23
26
|
{children}
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
width: 30px;
|
|
55
55
|
height: 30px;
|
|
56
56
|
flex-shrink: 0;
|
|
57
|
+
fill: var(--shade-lighter);
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
|
|
@@ -111,6 +112,10 @@
|
|
|
111
112
|
|
|
112
113
|
.search-input-wrapper {
|
|
113
114
|
width: 70%;
|
|
115
|
+
|
|
116
|
+
.new-form-input__icon {
|
|
117
|
+
color: var(--shade-lighter);
|
|
118
|
+
}
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
.search-helper-text {
|
|
@@ -125,13 +130,21 @@
|
|
|
125
130
|
|
|
126
131
|
.filters-actions-row {
|
|
127
132
|
display: flex;
|
|
128
|
-
|
|
129
|
-
align-items:
|
|
130
|
-
gap:
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
align-items: flex-start;
|
|
135
|
+
gap: 16px;
|
|
131
136
|
width: 100%;
|
|
137
|
+
|
|
138
|
+
@media (min-width: 1024px) {
|
|
139
|
+
flex-direction: row;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
align-items: center;
|
|
142
|
+
gap: 24px;
|
|
143
|
+
}
|
|
132
144
|
}
|
|
133
145
|
|
|
134
146
|
.quick-filters-wrapper {
|
|
147
|
+
width: 100%;
|
|
135
148
|
flex: 1;
|
|
136
149
|
}
|
|
137
150
|
|
|
@@ -139,6 +152,12 @@
|
|
|
139
152
|
display: flex;
|
|
140
153
|
gap: 12px;
|
|
141
154
|
align-items: center;
|
|
155
|
+
|
|
156
|
+
.ghost-button {
|
|
157
|
+
&__icon svg {
|
|
158
|
+
fill: var(--shade-lighter);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
142
161
|
}
|
|
143
162
|
|
|
144
163
|
&__row {
|
|
@@ -165,19 +184,46 @@
|
|
|
165
184
|
&__sub {
|
|
166
185
|
font-size: 13px;
|
|
167
186
|
color: #9399B3;
|
|
187
|
+
display: block !important;
|
|
168
188
|
}
|
|
169
189
|
&__id {
|
|
170
190
|
font-size: 13px;
|
|
171
191
|
color: #9399B3;
|
|
172
|
-
display: none;
|
|
192
|
+
display: none !important;
|
|
173
193
|
}
|
|
174
194
|
|
|
175
195
|
&:hover {
|
|
176
196
|
.entity-cell__id {
|
|
177
|
-
display: block;
|
|
197
|
+
display: block !important;
|
|
178
198
|
}
|
|
179
199
|
.entity-cell__sub {
|
|
180
|
-
display: none;
|
|
200
|
+
display: none !important;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// Ensure hover state on the row also triggers the same behavior
|
|
205
|
+
// This addresses potential flickering when moving between cells
|
|
206
|
+
:is(.new-table__row:hover) & {
|
|
207
|
+
.entity-cell__id {
|
|
208
|
+
display: block !important;
|
|
209
|
+
}
|
|
210
|
+
.entity-cell__sub {
|
|
211
|
+
display: none !important;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// When entity-cell__sub is missing (like in template list),
|
|
216
|
+
// showing entity-cell__id on hover causes height jump.
|
|
217
|
+
// We only want to swap if both exist, or ensure height is stable.
|
|
218
|
+
&:not(:has(.entity-cell__sub)) {
|
|
219
|
+
.entity-cell__id {
|
|
220
|
+
display: block !important;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:is(.new-table__row:hover) &:not(:has(.entity-cell__sub)) {
|
|
225
|
+
.entity-cell__id {
|
|
226
|
+
display: block !important;
|
|
181
227
|
}
|
|
182
228
|
}
|
|
183
229
|
}
|
|
@@ -542,6 +588,7 @@
|
|
|
542
588
|
"customer bookings"
|
|
543
589
|
"divider divider"
|
|
544
590
|
"next last"
|
|
591
|
+
"status status"
|
|
545
592
|
"actions actions";
|
|
546
593
|
grid-template-columns: 1fr auto;
|
|
547
594
|
border: 1px solid var(--border-primary, #E8E9EF);
|
|
@@ -604,6 +651,10 @@
|
|
|
604
651
|
grid-area: last; // Reuse 'last' area for waiver in waiver list
|
|
605
652
|
text-align: right;
|
|
606
653
|
}
|
|
654
|
+
&.waiver-col-mb {
|
|
655
|
+
grid-area: status;
|
|
656
|
+
text-align: left;
|
|
657
|
+
}
|
|
607
658
|
}
|
|
608
659
|
}
|
|
609
660
|
}
|
|
@@ -679,7 +730,7 @@
|
|
|
679
730
|
.waiver-cell {
|
|
680
731
|
display: flex;
|
|
681
732
|
flex-direction: column;
|
|
682
|
-
align-items: flex-
|
|
733
|
+
align-items: flex-start;
|
|
683
734
|
min-width: 0;
|
|
684
735
|
overflow: hidden;
|
|
685
736
|
|
|
@@ -688,7 +739,7 @@
|
|
|
688
739
|
color: #626A90;
|
|
689
740
|
font-weight: 500;
|
|
690
741
|
margin-bottom: 4px;
|
|
691
|
-
text-align:
|
|
742
|
+
text-align: left;
|
|
692
743
|
white-space: nowrap;
|
|
693
744
|
overflow: hidden;
|
|
694
745
|
text-overflow: ellipsis;
|
|
@@ -697,7 +748,7 @@
|
|
|
697
748
|
|
|
698
749
|
.v2-badge {
|
|
699
750
|
display: inline-flex;
|
|
700
|
-
margin-
|
|
751
|
+
margin-right: auto;
|
|
701
752
|
}
|
|
702
753
|
}
|
|
703
754
|
|
|
@@ -12,11 +12,21 @@
|
|
|
12
12
|
|
|
13
13
|
&__options {
|
|
14
14
|
display: flex;
|
|
15
|
-
flex-wrap:
|
|
15
|
+
flex-wrap: nowrap;
|
|
16
|
+
overflow-x: auto;
|
|
16
17
|
gap: 8px;
|
|
18
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
19
|
+
scrollbar-width: none; /* Firefox */
|
|
20
|
+
padding-bottom: 2px; /* Prevent button shadows/borders from being cut off during scroll if any */
|
|
21
|
+
|
|
22
|
+
&::-webkit-scrollbar {
|
|
23
|
+
display: none; /* Chrome, Safari and Opera */
|
|
24
|
+
}
|
|
17
25
|
|
|
18
26
|
.ghost-button {
|
|
19
27
|
border-radius: 100px;
|
|
28
|
+
font-family: var(--font-family-mono, 'Geist Mono', monospace);
|
|
29
|
+
flex-shrink: 0;
|
|
20
30
|
}
|
|
21
31
|
}
|
|
22
32
|
}
|
|
@@ -26,7 +36,7 @@
|
|
|
26
36
|
.quick-filter {
|
|
27
37
|
display: flex;
|
|
28
38
|
flex-direction: row;
|
|
29
|
-
align-items:
|
|
39
|
+
align-items: center;
|
|
30
40
|
gap: 12px;
|
|
31
41
|
width: 100%;
|
|
32
42
|
|
|
@@ -37,7 +47,8 @@
|
|
|
37
47
|
&__options {
|
|
38
48
|
flex: 1;
|
|
39
49
|
display: flex;
|
|
40
|
-
flex-wrap:
|
|
50
|
+
flex-wrap: nowrap;
|
|
51
|
+
overflow-x: auto;
|
|
41
52
|
gap: 6px;
|
|
42
53
|
padding: 0;
|
|
43
54
|
margin: 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import {
|
|
2
|
+
import { TableHeaderArrowUpIcon, TableHeaderArrowDownIcon} from '../../icons'
|
|
3
3
|
|
|
4
4
|
export type SortDirection = 'asc' | 'desc' | null
|
|
5
5
|
|
|
@@ -10,11 +10,9 @@ export interface TableSortIconProps {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export const TableSortIcon: React.FC<TableSortIconProps> = ({ active = false, direction, className = '' }) => {
|
|
13
|
-
if (!active || !direction) return null
|
|
14
|
-
|
|
15
13
|
return (
|
|
16
|
-
<span className={className}>
|
|
17
|
-
{direction === 'asc' ? <
|
|
14
|
+
<span className={className} style={{ visibility: active && direction ? 'visible' : 'hidden' }}>
|
|
15
|
+
{direction === 'asc' ? <TableHeaderArrowUpIcon /> : <TableHeaderArrowDownIcon />}
|
|
18
16
|
</span>
|
|
19
17
|
)
|
|
20
18
|
}
|
package/src/v2/icons/index.tsx
CHANGED
|
@@ -114,7 +114,7 @@ export const CalendarSmallIcon = () => (
|
|
|
114
114
|
|
|
115
115
|
export const SearchIcon = () => (
|
|
116
116
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 22 22" fill="none">
|
|
117
|
-
<path d="M14.6593 13.7979L17.2683 16.4068L16.4068 17.2684L13.7978 14.6594C12.8597 15.4099 11.67 15.8589 10.3761 15.8589C7.34958 15.8589 4.89331 13.4026 4.89331 10.3761C4.89331 7.34965 7.34958 4.89337 10.3761 4.89337C13.4025 4.89337 15.8588 7.34965 15.8588 10.3761C15.8588 11.6701 15.4098 12.8598 14.6593 13.7979ZM13.4371 13.3458C14.182 12.5781 14.6404 11.5309 14.6404 10.3761C14.6404 8.02006 12.7321 6.11176 10.3761 6.11176C8.02 6.11176 6.1117 8.02006 6.1117 10.3761C6.1117 12.7322 8.02 14.6405 10.3761 14.6405C11.5309 14.6405 12.5781 14.1821 13.3458 13.4371L13.4371 13.3458Z" fill="
|
|
117
|
+
<path d="M14.6593 13.7979L17.2683 16.4068L16.4068 17.2684L13.7978 14.6594C12.8597 15.4099 11.67 15.8589 10.3761 15.8589C7.34958 15.8589 4.89331 13.4026 4.89331 10.3761C4.89331 7.34965 7.34958 4.89337 10.3761 4.89337C13.4025 4.89337 15.8588 7.34965 15.8588 10.3761C15.8588 11.6701 15.4098 12.8598 14.6593 13.7979ZM13.4371 13.3458C14.182 12.5781 14.6404 11.5309 14.6404 10.3761C14.6404 8.02006 12.7321 6.11176 10.3761 6.11176C8.02 6.11176 6.1117 8.02006 6.1117 10.3761C6.1117 12.7322 8.02 14.6405 10.3761 14.6405C11.5309 14.6405 12.5781 14.1821 13.3458 13.4371L13.4371 13.3458Z" fill="currentColor"/>
|
|
118
118
|
</svg>
|
|
119
119
|
)
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ export const RefreshIcon = ({ width = 24, height = 24 }: React.SVGProps<SVGSVGEl
|
|
|
126
126
|
|
|
127
127
|
export const SendIcon = ({ width = 24, height = 24 }: React.SVGProps<SVGSVGElement> & { width?: number; height?: number } = {}) => (
|
|
128
128
|
<svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" fill="none">
|
|
129
|
-
<path d="M18 6C18.4142 6 18.75 6.33579 18.75 6.75V12.75H17.25V9.17871L11.3037 14.5039L5.25 9.16211V17.25H18V18.75H4.5C4.08579 18.75 3.75 18.4142 3.75 18V6.75C3.75 6.33579 4.08579 6 4.5 6H18ZM24 15L20.25 18V15.75H15V14.25H20.25V12L24 15ZM11.2969 12.4961L16.876 7.5H5.63379L11.2969 12.4961Z" fill="
|
|
129
|
+
<path d="M18 6C18.4142 6 18.75 6.33579 18.75 6.75V12.75H17.25V9.17871L11.3037 14.5039L5.25 9.16211V17.25H18V18.75H4.5C4.08579 18.75 3.75 18.4142 3.75 18V6.75C3.75 6.33579 4.08579 6 4.5 6H18ZM24 15L20.25 18V15.75H15V14.25H20.25V12L24 15ZM11.2969 12.4961L16.876 7.5H5.63379L11.2969 12.4961Z" fill="currentColor"/>
|
|
130
130
|
</svg>
|
|
131
131
|
)
|
|
132
132
|
|
|
@@ -181,6 +181,18 @@ export const InfoIcon = ({ width = 16, height = 16 }: { width?: number; height?:
|
|
|
181
181
|
</svg>
|
|
182
182
|
)
|
|
183
183
|
|
|
184
|
+
export const TableHeaderArrowUpIcon = () => (
|
|
185
|
+
<svg width="11" height="6" viewBox="0 0 11 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
186
|
+
<path d="M10 5L5.5 1L1 5" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
187
|
+
</svg>
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
export const TableHeaderArrowDownIcon = () => (
|
|
191
|
+
<svg width="11" height="6" viewBox="0 0 11 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
192
|
+
<path d="M1 1L5.5 5L10 1" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
193
|
+
</svg>
|
|
194
|
+
)
|
|
195
|
+
|
|
184
196
|
export const ArrowUpIcon = ({ width = 20, height = 20 }: { width?: number; height?: number } = {}) => (
|
|
185
197
|
<svg width={width} height={height} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
186
198
|
<path d="M14.9999 11.8283L9.63589 17.1923L8.22168 15.7781L15.9999 7.99988L23.778 15.7781L22.3638 17.1923L16.9999 11.8283L16.9999 23.9999L14.9999 23.9999L14.9999 11.8283Z" fill="currentColor" />
|