@conveyorhq/arrow-ds 1.19.1 → 1.21.0
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/package.json +1 -1
- package/public/components/Frame/Frame.d.ts +1 -1
- package/public/components/Icon/Icon.d.ts +1 -0
- package/public/components/Icon/Icon.js +3 -1
- package/public/components/Input/Input.js +4 -4
- package/public/components/Table/Table.d.ts +3 -1
- package/public/components/Table/Table.js +10 -3
- package/public/components/Table/TableCell.js +3 -1
- package/public/components/Table/index.d.ts +3 -0
- package/public/css/styles.css +67 -18
- package/public/css/styles.min.css +1 -1
- package/public/css/styles.min.css.map +1 -1
- package/src/components/Frame/Frame.story.mdx +140 -5
- package/src/components/Frame/Frame.tsx +1 -1
- package/src/components/Frame/index.css +8 -13
- package/src/components/Icon/Icon.tsx +3 -0
- package/src/components/Input/Input.story.mdx +7 -0
- package/src/components/Input/Input.tsx +5 -0
- package/src/components/Input/brand.css +4 -2
- package/src/components/Input/product.css +5 -2
- package/src/components/Table/Table.story.mdx +90 -0
- package/src/components/Table/Table.tsx +32 -1
- package/src/components/Table/TableCell.tsx +8 -1
- package/src/components/Table/index.css +58 -6
- package/src/components/Table/index.ts +3 -0
- package/src/components/TopBar/index.css +2 -1
package/package.json
CHANGED
|
@@ -114,6 +114,7 @@ const faScroll_1 = require("@fortawesome/free-solid-svg-icons/faScroll");
|
|
|
114
114
|
const faSearch_1 = require("@fortawesome/free-solid-svg-icons/faSearch");
|
|
115
115
|
const faShareAlt_1 = require("@fortawesome/free-solid-svg-icons/faShareAlt");
|
|
116
116
|
const faShieldAlt_1 = require("@fortawesome/free-solid-svg-icons/faShieldAlt");
|
|
117
|
+
const faSignOutAlt_1 = require("@fortawesome/free-solid-svg-icons/faSignOutAlt");
|
|
117
118
|
const faSignature_1 = require("@fortawesome/free-solid-svg-icons/faSignature");
|
|
118
119
|
const faSlidersH_1 = require("@fortawesome/free-solid-svg-icons/faSlidersH");
|
|
119
120
|
const faSort_1 = require("@fortawesome/free-solid-svg-icons/faSort");
|
|
@@ -140,7 +141,7 @@ const status_1 = require("../../contexts/status");
|
|
|
140
141
|
const types_1 = require("../../types");
|
|
141
142
|
const utilities_1 = require("../../utilities");
|
|
142
143
|
const cn = utilities_1.bemHOF("Icon");
|
|
143
|
-
fontawesome_svg_core_1.library.add(faArchive_1.faArchive, faArrowDown_1.faArrowDown, faArrowLeft_1.faArrowLeft, faArrowRight_1.faArrowRight, faArrowUp_1.faArrowUp, faBackward_1.faBackward, faBan_1.faBan, faBatteryHalf_1.faBatteryHalf, faBed_1.faBed, faBell_1.faBell, faBolt_1.faBolt, faCalculator_1.faCalculator, faCalendar_1.faCalendar, faCaretDown_1.faCaretDown, faCaretUp_1.faCaretUp, faCheck_1.faCheck, faCheckCircle_2.faCheckCircle, faCheckCircle_1.faCheckCircle, faChevronDown_1.faChevronDown, faChevronLeft_1.faChevronLeft, faChevronRight_1.faChevronRight, faChevronUp_1.faChevronUp, faCircle_2.faCircle, faCircleNotch_1.faCircleNotch, faCircle_1.faCircle, faClipboard_1.faClipboard, faClock_1.faClock, faClock_2.faClock, faCog_1.faCog, faColumns_1.faColumns, faCommentAlt_1.faCommentAlt, faCompress_1.faCompress, faCrown_1.faCrown, faEllipsisH_1.faEllipsisH, faEllipsisV_1.faEllipsisV, faEnvelope_1.faEnvelope, faExclamationCircle_1.faExclamationCircle, faExclamationTriangle_1.faExclamationTriangle, faExpand_1.faExpand, faExternalLinkAlt_1.faExternalLinkAlt, faExternalLinkSquareAlt_1.faExternalLinkSquareAlt, faEye_1.faEye, faEyeSlash_1.faEyeSlash, faFastBackward_1.faFastBackward, faFastForward_1.faFastForward, faFileAlt_1.faFileAlt, faFileAlt_2.faFileAlt, faFileImport_1.faFileImport, faFileSignature_1.faFileSignature, faFilter_1.faFilter, faFlag_1.faFlag, faFolder_1.faFolder, faForward_1.faForward, faGripLines_1.faGripLines, faGripLinesVertical_1.faGripLinesVertical, faHashtag_1.faHashtag, faInfoCircle_1.faInfoCircle, faKey_1.faKey, faKeyboard_1.faKeyboard, faLayerGroup_1.faLayerGroup, faLevelUpAlt_1.faLevelUpAlt, faListUl_1.faListUl, faLock_1.faLock, faLongArrowAltRight_1.faLongArrowAltRight, faMagic_1.faMagic, faMapSigns_1.faMapSigns, faMinus_1.faMinus, faMousePointer_1.faMousePointer, faPaperclip_1.faPaperclip, faPause_1.faPause, faPen_1.faPen, faPlay_1.faPlay, faPlus_1.faPlus, faPlusCircle_1.faPlusCircle, faPooStorm_1.faPooStorm, faQuestion_1.faQuestion, faQuestionCircle_2.faQuestionCircle, faQuestionCircle_1.faQuestionCircle, faScroll_1.faScroll, faSearch_1.faSearch, faShareAlt_1.faShareAlt, faShieldAlt_1.faShieldAlt, faSignature_1.faSignature, faSlidersH_1.faSlidersH, faSort_1.faSort, faSortDown_1.faSortDown, faSortUp_1.faSortUp, faSpinner_1.faSpinner, faSquare_1.faSquare, faStar_1.faStar, faStar_2.faStar, faSync_1.faSync, faTasks_1.faTasks, faThLarge_1.faThLarge, faThumbsDown_1.faThumbsDown, faThumbsDown_2.faThumbsDown, faThumbsUp_1.faThumbsUp, faThumbsUp_2.faThumbsUp, faTicketAlt_1.faTicketAlt, faTimes_1.faTimes, faTimesCircle_1.faTimesCircle, faTrash_1.faTrash, faUser_2.faUser, faUserAstronaut_1.faUserAstronaut, faUserPlus_1.faUserPlus, faUser_1.faUser, faUsers_1.faUsers, faUserFriends_1.faUserFriends);
|
|
144
|
+
fontawesome_svg_core_1.library.add(faArchive_1.faArchive, faArrowDown_1.faArrowDown, faArrowLeft_1.faArrowLeft, faArrowRight_1.faArrowRight, faArrowUp_1.faArrowUp, faBackward_1.faBackward, faBan_1.faBan, faBatteryHalf_1.faBatteryHalf, faBed_1.faBed, faBell_1.faBell, faBolt_1.faBolt, faCalculator_1.faCalculator, faCalendar_1.faCalendar, faCaretDown_1.faCaretDown, faCaretUp_1.faCaretUp, faCheck_1.faCheck, faCheckCircle_2.faCheckCircle, faCheckCircle_1.faCheckCircle, faChevronDown_1.faChevronDown, faChevronLeft_1.faChevronLeft, faChevronRight_1.faChevronRight, faChevronUp_1.faChevronUp, faCircle_2.faCircle, faCircleNotch_1.faCircleNotch, faCircle_1.faCircle, faClipboard_1.faClipboard, faClock_1.faClock, faClock_2.faClock, faCog_1.faCog, faColumns_1.faColumns, faCommentAlt_1.faCommentAlt, faCompress_1.faCompress, faCrown_1.faCrown, faEllipsisH_1.faEllipsisH, faEllipsisV_1.faEllipsisV, faEnvelope_1.faEnvelope, faExclamationCircle_1.faExclamationCircle, faExclamationTriangle_1.faExclamationTriangle, faExpand_1.faExpand, faExternalLinkAlt_1.faExternalLinkAlt, faExternalLinkSquareAlt_1.faExternalLinkSquareAlt, faEye_1.faEye, faEyeSlash_1.faEyeSlash, faFastBackward_1.faFastBackward, faFastForward_1.faFastForward, faFileAlt_1.faFileAlt, faFileAlt_2.faFileAlt, faFileImport_1.faFileImport, faFileSignature_1.faFileSignature, faFilter_1.faFilter, faFlag_1.faFlag, faFolder_1.faFolder, faForward_1.faForward, faGripLines_1.faGripLines, faGripLinesVertical_1.faGripLinesVertical, faHashtag_1.faHashtag, faInfoCircle_1.faInfoCircle, faKey_1.faKey, faKeyboard_1.faKeyboard, faLayerGroup_1.faLayerGroup, faLevelUpAlt_1.faLevelUpAlt, faListUl_1.faListUl, faLock_1.faLock, faLongArrowAltRight_1.faLongArrowAltRight, faMagic_1.faMagic, faMapSigns_1.faMapSigns, faMinus_1.faMinus, faMousePointer_1.faMousePointer, faPaperclip_1.faPaperclip, faPause_1.faPause, faPen_1.faPen, faPlay_1.faPlay, faPlus_1.faPlus, faPlusCircle_1.faPlusCircle, faPooStorm_1.faPooStorm, faQuestion_1.faQuestion, faQuestionCircle_2.faQuestionCircle, faQuestionCircle_1.faQuestionCircle, faScroll_1.faScroll, faSearch_1.faSearch, faShareAlt_1.faShareAlt, faShieldAlt_1.faShieldAlt, faSignOutAlt_1.faSignOutAlt, faSignature_1.faSignature, faSlidersH_1.faSlidersH, faSort_1.faSort, faSortDown_1.faSortDown, faSortUp_1.faSortUp, faSpinner_1.faSpinner, faSquare_1.faSquare, faStar_1.faStar, faStar_2.faStar, faSync_1.faSync, faTasks_1.faTasks, faThLarge_1.faThLarge, faThumbsDown_1.faThumbsDown, faThumbsDown_2.faThumbsDown, faThumbsUp_1.faThumbsUp, faThumbsUp_2.faThumbsUp, faTicketAlt_1.faTicketAlt, faTimes_1.faTimes, faTimesCircle_1.faTimesCircle, faTrash_1.faTrash, faUser_2.faUser, faUserAstronaut_1.faUserAstronaut, faUserPlus_1.faUserPlus, faUser_1.faUser, faUsers_1.faUsers, faUserFriends_1.faUserFriends);
|
|
144
145
|
var CUSTOM_ICON_TYPE;
|
|
145
146
|
(function (CUSTOM_ICON_TYPE) {
|
|
146
147
|
CUSTOM_ICON_TYPE["ARROW_TO_BOTTOM"] = "arrow-to-bottom";
|
|
@@ -237,6 +238,7 @@ var ICON_TYPE;
|
|
|
237
238
|
ICON_TYPE["SEARCH"] = "search";
|
|
238
239
|
ICON_TYPE["SHARE_ALT"] = "share-alt";
|
|
239
240
|
ICON_TYPE["SHIELD_ALT"] = "shield-alt";
|
|
241
|
+
ICON_TYPE["SIGN_OUT_ALT"] = "sign-out-alt";
|
|
240
242
|
ICON_TYPE["SIGNATURE"] = "signature";
|
|
241
243
|
ICON_TYPE["SLIDERS_H"] = "sliders-h";
|
|
242
244
|
ICON_TYPE["SORT"] = "sort";
|
|
@@ -36,18 +36,18 @@ var INPUT_ICON_POSITION;
|
|
|
36
36
|
INPUT_ICON_POSITION["RIGHT"] = "right";
|
|
37
37
|
})(INPUT_ICON_POSITION = exports.INPUT_ICON_POSITION || (exports.INPUT_ICON_POSITION = {}));
|
|
38
38
|
const cn = "TextInput";
|
|
39
|
-
const Input = react_1.forwardRef(({ as: Component = "input", className, wrapperClassName, icon, iconPosition = INPUT_ICON_POSITION.LEFT, iconProps = {}, id: idProp, type, variant: variantProp = types_1.STATUS_VARIANT.DEFAULT, theme: themeProp, ...rest }, ref) => {
|
|
39
|
+
const Input = react_1.forwardRef(({ as: Component = "input", className, wrapperClassName, icon, iconPosition = INPUT_ICON_POSITION.LEFT, iconProps = {}, id: idProp, type, variant: variantProp = types_1.STATUS_VARIANT.DEFAULT, theme: themeProp, disabled, ...rest }, ref) => {
|
|
40
40
|
const isTextInput = type !== "radio" && type !== "checkbox";
|
|
41
41
|
const { id: idContext, variant: variantContext, theme: themeContext, } = react_1.useContext(FormGroupContext_1.FormGroupContext);
|
|
42
42
|
const id = idContext || idProp;
|
|
43
43
|
const variant = variantContext || variantProp;
|
|
44
44
|
const theme = themeProp || themeContext;
|
|
45
|
-
const inputClasses = classnames_1.default(isTextInput && bem_1.bem(cn), bem_1.bem(cn, { m: variant }), bem_1.bem(cn, { m: theme }), icon && bem_1.bem(cn, { m: `icon-${iconPosition}` }), className);
|
|
45
|
+
const inputClasses = classnames_1.default(isTextInput && bem_1.bem(cn), bem_1.bem(cn, { m: variant }), bem_1.bem(cn, { m: theme }), disabled && bem_1.bem(cn, { m: "disabled" }), icon && bem_1.bem(cn, { m: `icon-${iconPosition}` }), className);
|
|
46
46
|
const wrapperClasses = classnames_1.default(bem_1.bem(cn, { e: "wrapper" }), wrapperClassName);
|
|
47
47
|
const { className: iconClassName, ...iconPropsRest } = iconProps;
|
|
48
48
|
const iconClasses = classnames_1.default(bem_1.bem(cn, { e: "icon" }), bem_1.bem(cn, { e: "icon", m: iconPosition }), iconClassName);
|
|
49
49
|
return isTextInput && icon ? (react_1.default.createElement(Box_1.Box, { className: wrapperClasses },
|
|
50
|
-
react_1.default.createElement(Component, Object.assign({ ref: ref, className: inputClasses, id: id, type: type }, rest)),
|
|
51
|
-
react_1.default.createElement(Icon_1.Icon, Object.assign({ icon: icon, className: iconClasses }, iconPropsRest)))) : (react_1.default.createElement(Component, Object.assign({ ref: ref, className: inputClasses, id: id, type: type }, rest)));
|
|
50
|
+
react_1.default.createElement(Component, Object.assign({ ref: ref, className: inputClasses, id: id, type: type, disabled: disabled }, rest)),
|
|
51
|
+
react_1.default.createElement(Icon_1.Icon, Object.assign({ icon: icon, className: iconClasses }, iconPropsRest)))) : (react_1.default.createElement(Component, Object.assign({ ref: ref, className: inputClasses, id: id, type: type, disabled: disabled }, rest)));
|
|
52
52
|
});
|
|
53
53
|
exports.Input = Input;
|
|
@@ -13,9 +13,11 @@ interface TableProps extends React.HTMLProps<HTMLTableElement> {
|
|
|
13
13
|
stickyColumn?: boolean;
|
|
14
14
|
hasBatchActions?: boolean;
|
|
15
15
|
spaceRows?: boolean;
|
|
16
|
+
enableGridSizing?: boolean;
|
|
17
|
+
gridSizing?: string | string[];
|
|
16
18
|
}
|
|
17
19
|
declare const Table: {
|
|
18
|
-
({ children, className, onSort, outerBorder, sortColumnId, sortDirection, affixHeader, removeSpacerColumn, noResults, renderInModal, enableHorizontalScroll, stickyColumn, hasBatchActions, spaceRows, ...rest }: TableProps): JSX.Element;
|
|
20
|
+
({ children, className, onSort, outerBorder, sortColumnId, sortDirection, affixHeader, removeSpacerColumn, noResults, renderInModal, enableHorizontalScroll, stickyColumn, hasBatchActions, spaceRows, style, enableGridSizing, gridSizing, ...rest }: TableProps): JSX.Element;
|
|
19
21
|
Body: ({ className, children, ...rest }: React.HTMLProps<HTMLTableSectionElement>) => JSX.Element;
|
|
20
22
|
Row: ({ className, children, selected, ...rest }: import("./TableRow").TableRowProps) => JSX.Element;
|
|
21
23
|
Cell: React.FunctionComponent<import("./TableCell").TableCellProps>;
|
|
@@ -35,9 +35,9 @@ Object.defineProperty(exports, "SORT_DIRECTION", { enumerable: true, get: functi
|
|
|
35
35
|
const bem_1 = require("../../utilities/bem");
|
|
36
36
|
const cn = "Table";
|
|
37
37
|
const wrapperCn = "TableWrapper";
|
|
38
|
-
const Table = ({ children, className, onSort = () => { }, outerBorder = false, sortColumnId, sortDirection, affixHeader = false, removeSpacerColumn = false, noResults = false, renderInModal = false, enableHorizontalScroll = false, stickyColumn = false, hasBatchActions = false, spaceRows = false, ...rest }) => {
|
|
38
|
+
const Table = ({ children, className, onSort = () => { }, outerBorder = false, sortColumnId, sortDirection, affixHeader = false, removeSpacerColumn = false, noResults = false, renderInModal = false, enableHorizontalScroll = false, stickyColumn = false, hasBatchActions = false, spaceRows = false, style, enableGridSizing = false, gridSizing, ...rest }) => {
|
|
39
39
|
const wrapperClasses = classnames_1.default(bem_1.bem(wrapperCn), enableHorizontalScroll && bem_1.bem(wrapperCn, { m: "enable-hscroll" }), spaceRows && bem_1.bem(wrapperCn, { m: "space-rows" }));
|
|
40
|
-
const classes = classnames_1.default(bem_1.bem(cn), removeSpacerColumn && bem_1.bem(cn, { m: "remove-spacer" }), outerBorder && bem_1.bem(cn, { m: "outer-border" }), affixHeader && bem_1.bem(cn, { m: "affix-header" }), noResults && bem_1.bem(cn, { m: "no-results" }), stickyColumn && bem_1.bem(cn, { m: "sticky-column" }), hasBatchActions && bem_1.bem(cn, { m: "batch-actions" }), spaceRows && bem_1.bem(cn, { m: "space-rows" }), className);
|
|
40
|
+
const classes = classnames_1.default(bem_1.bem(cn), removeSpacerColumn && bem_1.bem(cn, { m: "remove-spacer" }), outerBorder && bem_1.bem(cn, { m: "outer-border" }), affixHeader && bem_1.bem(cn, { m: "affix-header" }), noResults && bem_1.bem(cn, { m: "no-results" }), stickyColumn && bem_1.bem(cn, { m: "sticky-column" }), hasBatchActions && bem_1.bem(cn, { m: "batch-actions" }), spaceRows && bem_1.bem(cn, { m: "space-rows" }), enableGridSizing && gridSizing && bem_1.bem(cn, { m: "grid-sizing" }), className);
|
|
41
41
|
return (react_1.default.createElement(TableContext_1.default.Provider, { value: {
|
|
42
42
|
handleSort: onSort,
|
|
43
43
|
sortDirection,
|
|
@@ -49,7 +49,14 @@ const Table = ({ children, className, onSort = () => { }, outerBorder = false, s
|
|
|
49
49
|
hasBatchActions,
|
|
50
50
|
} },
|
|
51
51
|
react_1.default.createElement("div", { className: wrapperClasses },
|
|
52
|
-
react_1.default.createElement("table", Object.assign({ className: classes
|
|
52
|
+
react_1.default.createElement("table", Object.assign({ className: classes, style: enableGridSizing && gridSizing
|
|
53
|
+
? {
|
|
54
|
+
gridTemplateColumns: Array.isArray(gridSizing)
|
|
55
|
+
? gridSizing.join(" ")
|
|
56
|
+
: gridSizing,
|
|
57
|
+
...style,
|
|
58
|
+
}
|
|
59
|
+
: style }, rest), children))));
|
|
53
60
|
};
|
|
54
61
|
exports.Table = Table;
|
|
55
62
|
Table.Body = TableBody_1.default;
|
|
@@ -25,6 +25,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
const react_1 = __importStar(require("react"));
|
|
26
26
|
const classnames_1 = __importDefault(require("classnames"));
|
|
27
27
|
const bem_1 = require("../../utilities/bem");
|
|
28
|
+
const Flex_1 = require("../Flex");
|
|
28
29
|
const Skeleton_1 = require("../Skeleton");
|
|
29
30
|
const cn = "TableCell";
|
|
30
31
|
const TableCell = react_1.forwardRef(({ className, removePadding = false, isLoading = false, children, columnWidth, align = "left", style, ...rest }, ref) => {
|
|
@@ -32,6 +33,7 @@ const TableCell = react_1.forwardRef(({ className, removePadding = false, isLoad
|
|
|
32
33
|
if (columnWidth) {
|
|
33
34
|
computedStyle.width = columnWidth;
|
|
34
35
|
}
|
|
35
|
-
return (react_1.default.createElement("td", Object.assign({ style: computedStyle, className: classnames_1.default(bem_1.bem(cn), removePadding && bem_1.bem(cn, { m: "removePadding" }), align && `text-${align}`, className), ref: ref }, rest), isLoading ? react_1.default.createElement(
|
|
36
|
+
return (react_1.default.createElement("td", Object.assign({ style: computedStyle, className: classnames_1.default(bem_1.bem(cn), removePadding && bem_1.bem(cn, { m: "removePadding" }), align && `text-${align}`, className), ref: ref }, rest), isLoading ? (react_1.default.createElement(Flex_1.Flex, { className: "h-full items-center" },
|
|
37
|
+
react_1.default.createElement(Skeleton_1.Skeleton, { className: "w-full" }))) : (children)));
|
|
36
38
|
});
|
|
37
39
|
exports.default = TableCell;
|
package/public/css/styles.css
CHANGED
|
@@ -3881,25 +3881,22 @@ override built-in Image component classes */
|
|
|
3881
3881
|
}
|
|
3882
3882
|
|
|
3883
3883
|
.ads-Frame {
|
|
3884
|
-
--tw-bg-opacity: 1;
|
|
3885
|
-
background-color: rgba(249, 251, 252, var(--tw-bg-opacity));
|
|
3886
3884
|
height: 100vh;
|
|
3887
|
-
grid-template-columns: [full] 1fr;
|
|
3888
|
-
grid-template-rows: [appbar] auto [topbar] auto [main] 1fr [bottombar] auto;
|
|
3885
|
+
grid-template-columns: [navbar] auto [full] 1fr [column-end];
|
|
3886
|
+
grid-template-rows: [appbar] auto [topbar] auto [main] 1fr [bottombar] auto [row-end];
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3889
|
+
.ads-Frame-navbar {
|
|
3890
|
+
grid-column: navbar;
|
|
3891
|
+
grid-row: appbar / row-end;
|
|
3889
3892
|
}
|
|
3890
3893
|
|
|
3891
3894
|
.ads-Frame-appbar {
|
|
3892
|
-
--tw-bg-opacity: 1;
|
|
3893
|
-
background-color: rgba(0, 27, 40, var(--tw-bg-opacity));
|
|
3894
|
-
height: 100%;
|
|
3895
3895
|
grid-column: full;
|
|
3896
3896
|
grid-row: appbar;
|
|
3897
3897
|
}
|
|
3898
3898
|
|
|
3899
3899
|
.ads-Frame-topbar {
|
|
3900
|
-
--tw-bg-opacity: 1;
|
|
3901
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
3902
|
-
height: 100%;
|
|
3903
3900
|
grid-column: full;
|
|
3904
3901
|
grid-row: topbar;
|
|
3905
3902
|
}
|
|
@@ -3912,9 +3909,6 @@ override built-in Image component classes */
|
|
|
3912
3909
|
}
|
|
3913
3910
|
|
|
3914
3911
|
.ads-Frame-bottombar {
|
|
3915
|
-
--tw-bg-opacity: 1;
|
|
3916
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
3917
|
-
height: 100%;
|
|
3918
3912
|
grid-column: full;
|
|
3919
3913
|
grid-row: bottombar;
|
|
3920
3914
|
}
|
|
@@ -3982,7 +3976,10 @@ override built-in Image component classes */
|
|
|
3982
3976
|
color: rgba(185, 200, 210, var(--tw-text-opacity));
|
|
3983
3977
|
}
|
|
3984
3978
|
|
|
3985
|
-
.ads-TextInput--brand
|
|
3979
|
+
.ads-TextInput--brand.ads-TextInput--disabled {
|
|
3980
|
+
--tw-bg-opacity: 1;
|
|
3981
|
+
background-color: rgba(0, 27, 40, var(--tw-bg-opacity));
|
|
3982
|
+
border-color: transparent;
|
|
3986
3983
|
--tw-text-opacity: 1;
|
|
3987
3984
|
color: rgba(134, 163, 181, var(--tw-text-opacity));
|
|
3988
3985
|
}
|
|
@@ -4015,11 +4012,16 @@ override built-in Image component classes */
|
|
|
4015
4012
|
color: rgba(134, 163, 181, var(--tw-text-opacity));
|
|
4016
4013
|
}
|
|
4017
4014
|
|
|
4018
|
-
|
|
4015
|
+
/* Not using :disabled pseudo-class here for specificity reasons */
|
|
4016
|
+
|
|
4017
|
+
/* Not qualifying with the --product modifier for specificity reasons */
|
|
4018
|
+
|
|
4019
|
+
.ads-TextInput--disabled {
|
|
4019
4020
|
--tw-bg-opacity: 1;
|
|
4020
4021
|
background-color: rgba(244, 247, 249, var(--tw-bg-opacity));
|
|
4021
4022
|
--tw-border-opacity: 1;
|
|
4022
4023
|
border-color: rgba(222, 231, 238, var(--tw-border-opacity));
|
|
4024
|
+
cursor: not-allowed;
|
|
4023
4025
|
--tw-text-opacity: 1;
|
|
4024
4026
|
color: rgba(71, 104, 125, var(--tw-text-opacity));
|
|
4025
4027
|
}
|
|
@@ -6683,15 +6685,17 @@ override built-in Image component classes */
|
|
|
6683
6685
|
width: 1%;
|
|
6684
6686
|
}
|
|
6685
6687
|
|
|
6686
|
-
.ads-TableHeaderCell-InnerWrapper {
|
|
6688
|
+
.ads-TableHeaderCell-InnerWrapper, .ads-TableHeaderCell-ChildrenWrapper {
|
|
6687
6689
|
display: flex;
|
|
6688
6690
|
align-items: center;
|
|
6691
|
+
}
|
|
6692
|
+
|
|
6693
|
+
.ads-TableHeaderCell-InnerWrapper {
|
|
6694
|
+
height: 100%;
|
|
6689
6695
|
padding-top: 1px;
|
|
6690
6696
|
}
|
|
6691
6697
|
|
|
6692
6698
|
.ads-TableHeaderCell-ChildrenWrapper {
|
|
6693
|
-
display: flex;
|
|
6694
|
-
align-items: center;
|
|
6695
6699
|
line-height: 1;
|
|
6696
6700
|
}
|
|
6697
6701
|
|
|
@@ -6828,6 +6832,7 @@ override built-in Image component classes */
|
|
|
6828
6832
|
border-top-width: 1px;
|
|
6829
6833
|
height: 34px;
|
|
6830
6834
|
text-align: left;
|
|
6835
|
+
line-height: 18px;
|
|
6831
6836
|
}
|
|
6832
6837
|
|
|
6833
6838
|
.ads-TableRow:first-of-type .ads-TableCell, .ads-TableCell:only-child {
|
|
@@ -7031,6 +7036,48 @@ override built-in Image component classes */
|
|
|
7031
7036
|
box-shadow: 1px 0 0 #dee7ee, 3px 0 0 rgb(234, 237, 239);
|
|
7032
7037
|
}
|
|
7033
7038
|
|
|
7039
|
+
/* Enable grid sizing */
|
|
7040
|
+
|
|
7041
|
+
.ads-Table.ads-Table--grid-sizing {
|
|
7042
|
+
--table-cell-height: 34px;
|
|
7043
|
+
border-bottom-width: 0;
|
|
7044
|
+
display: grid;
|
|
7045
|
+
flex: 1 1 0%;
|
|
7046
|
+
min-width: 100%;
|
|
7047
|
+
width: auto;
|
|
7048
|
+
grid-auto-rows: minmax(var(--table-cell-height), auto);
|
|
7049
|
+
}
|
|
7050
|
+
|
|
7051
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableHead,
|
|
7052
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableBody,
|
|
7053
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableRow {
|
|
7054
|
+
display: contents;
|
|
7055
|
+
}
|
|
7056
|
+
|
|
7057
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableCell {
|
|
7058
|
+
border-top-width: 0;
|
|
7059
|
+
border-bottom-width: 1px;
|
|
7060
|
+
height: auto;
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableRow:last-of-type .ads-TableCell {
|
|
7064
|
+
border-bottom-color: #dee7ee;
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
.ads-Table.ads-Table--grid-sizing
|
|
7068
|
+
.ads-TableCell:not(.ads-TableCell--removePadding) {
|
|
7069
|
+
padding-left: 8px;
|
|
7070
|
+
padding-right: 8px;
|
|
7071
|
+
padding-bottom: 5px;
|
|
7072
|
+
padding-top: 5px;
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
.ads-Table.ads-Table--grid-sizing .ads-TableCell:first-of-type:not(:only-child), .ads-Table.ads-Table--grid-sizing .ads-TableHeaderCell:first-of-type, .ads-Table.ads-Table--grid-sizing.ads-Table--batch-actions
|
|
7076
|
+
.ads-TableCell:first-of-type, .ads-Table.ads-Table--grid-sizing.ads-Table--batch-actions
|
|
7077
|
+
.ads-TableHeaderCell:first-of-type {
|
|
7078
|
+
padding-left: 32px;
|
|
7079
|
+
}
|
|
7080
|
+
|
|
7034
7081
|
.ads-Tag {
|
|
7035
7082
|
border-radius: 9999px;
|
|
7036
7083
|
border-width: 1px;
|
|
@@ -7540,6 +7587,8 @@ override built-in Image component classes */
|
|
|
7540
7587
|
}
|
|
7541
7588
|
|
|
7542
7589
|
.ads-TopBar {
|
|
7590
|
+
--tw-bg-opacity: 1;
|
|
7591
|
+
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
7543
7592
|
--tw-border-opacity: 1;
|
|
7544
7593
|
border-color: rgba(222, 231, 238, var(--tw-border-opacity));
|
|
7545
7594
|
border-bottom-width: 1px;
|