@loja-integrada/admin-components 0.15.2 → 0.15.3
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/Components/TableList/TableListItem.interface.d.ts +4 -0
- package/dist/Components/TableList/index.d.ts +3 -0
- package/dist/Icons/icons-path/Blog.d.ts +2 -0
- package/dist/Icons/icons-path/index.d.ts +1 -0
- package/dist/admin-components.cjs.development.js +20 -5
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +19 -6
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/TableList/TableList.tsx +1 -0
- package/src/Components/TableList/TableListItem.interface.ts +4 -0
- package/src/Components/TableList/TableListItem.spec.tsx +13 -2
- package/src/Components/TableList/TableListItem.stories.tsx +1 -0
- package/src/Components/TableList/TableListItem.tsx +9 -5
- package/src/Components/TableList/index.tsx +3 -0
- package/src/Icons/icons-path/Blog.tsx +9 -0
- package/src/Icons/icons-path/index.ts +2 -0
|
@@ -152,6 +152,14 @@ var Bell = function Bell() {
|
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
+
var Blog = function Blog() {
|
|
156
|
+
return React__default.createElement("path", {
|
|
157
|
+
fillRule: "evenodd",
|
|
158
|
+
d: "M4 13v1h3.57c-.041-.159-.07-.323-.07-.495V13H4Zm10.5 2c0 .827-.673 1.5-1.5 1.5H3c-.827 0-1.5-.673-1.5-1.5V3c0-.827.673-1.5 1.5-1.5h10c.827 0 1.5.673 1.5 1.5v.872c.387-.238.831-.372 1.296-.372.069 0 .137.008.204.014V3c0-1.657-1.343-3-3-3H3C1.343 0 0 1.343 0 3v12c0 1.657 1.343 3 3 3h10c1.657 0 3-1.343 3-3v-3.265l-1.5 1.5V15Zm-6.416-4.819L8.265 10H4v1h3.599c.094-.305.253-.588.485-.819ZM4 5h8V4H4v1Zm7.265 2H4v1h6.265l1-1Zm6.445.904-5.951 5.95c-.093.094-.219.146-.35.146H9.495C9.222 14 9 13.778 9 13.505v-1.914c0-.131.052-.257.145-.35l5.951-5.951c.193-.193.447-.29.7-.29.254 0 .507.097.701.29l1.213 1.213c.387.387.387 1.015 0 1.401Z",
|
|
159
|
+
clipRule: "evenodd"
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
|
|
155
163
|
var Bullhorn = function Bullhorn() {
|
|
156
164
|
return React__default.createElement("path", {
|
|
157
165
|
fillRule: "evenodd",
|
|
@@ -559,6 +567,7 @@ var icons = {
|
|
|
559
567
|
ban: Ban,
|
|
560
568
|
barcodeRead: BarcodeRead,
|
|
561
569
|
bell: Bell,
|
|
570
|
+
blog: Blog,
|
|
562
571
|
bullhorn: Bullhorn,
|
|
563
572
|
calendarAlt: CalendarAlt,
|
|
564
573
|
check: Check,
|
|
@@ -2076,7 +2085,8 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
2076
2085
|
withHover = _ref$withHover === void 0 ? false : _ref$withHover,
|
|
2077
2086
|
_ref$isInsideContaine = _ref.isInsideContainer,
|
|
2078
2087
|
isInsideContainer = _ref$isInsideContaine === void 0 ? false : _ref$isInsideContaine,
|
|
2079
|
-
withIcon = _ref.withIcon
|
|
2088
|
+
withIcon = _ref.withIcon,
|
|
2089
|
+
append = _ref.append;
|
|
2080
2090
|
return React__default.createElement("div", {
|
|
2081
2091
|
className: "table-item border-primary-bold border-opacity-10 border-t first:border-t-0 " + (forceBorderDesktop ? 'lg:first:border-t' : '')
|
|
2082
2092
|
}, React__default.createElement(TableListItemWrapper, {
|
|
@@ -2098,13 +2108,15 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
2098
2108
|
className: "table-item-title text-f6 font-semibold"
|
|
2099
2109
|
}, title), description && React__default.createElement("div", {
|
|
2100
2110
|
className: "table-item-description"
|
|
2101
|
-
}, description)), timestampTime && React__default.createElement("div", {
|
|
2102
|
-
className: "table-item-timestamp flex flex-col justify-center items-end shrink-0 gap-1.5 ml-4 min-w-0 max-w-[50%] text-right"
|
|
2103
|
-
}, React__default.createElement("div", {
|
|
2111
|
+
}, description)), (timestampTime || timestampDate || append) && React__default.createElement("div", {
|
|
2112
|
+
className: "table-item-timestamp-append flex flex-col justify-center items-end shrink-0 gap-1.5 ml-4 min-w-0 max-w-[50%] text-right"
|
|
2113
|
+
}, timestampTime && React__default.createElement("div", {
|
|
2104
2114
|
className: "table-item-timestamp-time w-full"
|
|
2105
2115
|
}, timestampTime), timestampDate && React__default.createElement("div", {
|
|
2106
2116
|
className: "table-item-timestamp-date w-full hidden lg:block"
|
|
2107
|
-
}, timestampDate)
|
|
2117
|
+
}, timestampDate), append && React__default.createElement("div", {
|
|
2118
|
+
className: "table-item-append w-full"
|
|
2119
|
+
}, append))));
|
|
2108
2120
|
};
|
|
2109
2121
|
|
|
2110
2122
|
var TableListItemLoading = function TableListItemLoading(_ref) {
|
|
@@ -2208,6 +2220,7 @@ var TableListComponent = function TableListComponent(_ref) {
|
|
|
2208
2220
|
itemWrapper: itemWrapper,
|
|
2209
2221
|
itemWrapperProps: item.itemWrapperProps,
|
|
2210
2222
|
withIcon: item.withIcon,
|
|
2223
|
+
append: item.append,
|
|
2211
2224
|
withHover: withHover,
|
|
2212
2225
|
isInsideContainer: isInsideContainer
|
|
2213
2226
|
});
|
|
@@ -3380,6 +3393,8 @@ exports.SidebarSubItem = SidebarSubItem;
|
|
|
3380
3393
|
exports.Status = Status;
|
|
3381
3394
|
exports.Table = Table;
|
|
3382
3395
|
exports.TableList = TableList;
|
|
3396
|
+
exports.TableListItem = TableListItem;
|
|
3397
|
+
exports.TableListItemLoading = TableListItemLoading;
|
|
3383
3398
|
exports.Tabs = Tabs;
|
|
3384
3399
|
exports.Timeline = Timeline;
|
|
3385
3400
|
exports.Toast = Toast;
|