@arc-ui/community-components 1.0.2 → 1.1.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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +10 -0
- package/dist/ContentInfoWidget/ContentInfoWidget.cjs.js +18 -0
- package/dist/ContentInfoWidget/ContentInfoWidget.esm.js +16 -0
- package/dist/ContentInfoWidget/styles.css +1 -0
- package/dist/CopyLead/CopyLead.cjs.js +1 -1
- package/dist/CopyLead/CopyLead.esm.js +1 -1
- package/dist/FeaturePost/FeaturePost.cjs.js +1 -1
- package/dist/FeaturePost/FeaturePost.esm.js +1 -1
- package/dist/ProductNavigation/ProductNavigation.cjs.js +1 -1
- package/dist/ProductNavigation/ProductNavigation.esm.js +1 -1
- package/dist/PromoListing/PromoListing.cjs.js +1 -1
- package/dist/PromoListing/PromoListing.esm.js +1 -1
- package/dist/Summary/Summary.cjs.js +1 -1
- package/dist/Summary/Summary.esm.js +1 -1
- package/dist/_shared/cjs/{index.es-BNY6zQSi.js → index.es-Cf6wAvkf.js} +1 -1
- package/dist/_shared/esm/{index.es-BraCgI9m.js → index.es-DWVPneQL.js} +1 -1
- package/dist/index.es.js +76 -65
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +76 -64
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/cjs/components/ContentInfoWidget/ContentInfoWidget.d.ts +6 -0
- package/dist/types/cjs/components/ContentInfoWidget/index.d.ts +1 -0
- package/dist/types/cjs/components/index.d.ts +1 -0
- package/dist/types/esm/components/ContentInfoWidget/ContentInfoWidget.d.ts +6 -0
- package/dist/types/esm/components/ContentInfoWidget/index.d.ts +1 -0
- package/dist/types/esm/components/index.d.ts +1 -0
- package/package.json +11 -10
- package/src/components/ContentInfoWidget/ContentInfoWidget.module.css +16 -0
- package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +30 -0
- package/src/components/ContentInfoWidget/index.ts +4 -0
- package/src/components/index.ts +1 -0
- package/versions.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@1.0
|
|
2
|
+
> @arc-ui/community-components@1.1.0 build /builds/enterprise/frontend/arc-community/packages/components
|
|
3
3
|
> rimraf dist && rollup -c && generate-subpath-css
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1msrc/index.ts[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m3.8s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1msrc/index.ts[22m → [1mdist/index.es.js[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.es.js[22m in [
|
|
10
|
+
[32mcreated [1mdist/index.es.js[22m in [1m2.5s[22m[39m
|
|
11
11
|
[36m
|
|
12
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
13
|
-
[32mcreated [1mdist[22m in [
|
|
12
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
13
|
+
[32mcreated [1mdist[22m in [1m2.2s[22m[39m
|
|
14
14
|
[36m
|
|
15
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
16
|
-
[32mcreated [1mdist[22m in [
|
|
15
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
16
|
+
[32mcreated [1mdist[22m in [1m2.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add ContentInfoWidget component and insert into hero example stories
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Update arc packages for v12.0.0 release and fix gradients breaking change
|
|
12
|
+
|
|
3
13
|
## 1.0.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var Text = require('@arc-ui/components/Text');
|
|
5
|
+
var Icon = require('@arc-ui/components/Icon');
|
|
6
|
+
|
|
7
|
+
var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
|
|
8
|
+
|
|
9
|
+
var ContentInfoWidget = function (_a) {
|
|
10
|
+
var text = _a.text, icon = _a.icon;
|
|
11
|
+
return (React.createElement("div", { className: styles.container },
|
|
12
|
+
React.createElement("div", { className: styles.icon },
|
|
13
|
+
React.createElement(Icon.Icon, { size: 20, icon: icon })),
|
|
14
|
+
React.createElement("div", { className: styles.text },
|
|
15
|
+
React.createElement(Text.Text, { size: "xs", tone: "muted" }, text))));
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.ContentInfoWidget = ContentInfoWidget;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text } from '@arc-ui/components/Text';
|
|
3
|
+
import { Icon } from '@arc-ui/components/Icon';
|
|
4
|
+
|
|
5
|
+
var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
|
|
6
|
+
|
|
7
|
+
var ContentInfoWidget = function (_a) {
|
|
8
|
+
var text = _a.text, icon = _a.icon;
|
|
9
|
+
return (React.createElement("div", { className: styles.container },
|
|
10
|
+
React.createElement("div", { className: styles.icon },
|
|
11
|
+
React.createElement(Icon, { size: 20, icon: icon })),
|
|
12
|
+
React.createElement("div", { className: styles.text },
|
|
13
|
+
React.createElement(Text, { size: "xs", tone: "muted" }, text))));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { ContentInfoWidget };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ContentInfoWidget-module_container__yaS-8{display:flex;flex-direction:row;align-items:center;max-width:250px;white-space:nowrap;overflow-x:hidden}.ContentInfoWidget-module_text__O1BdZ{padding-left:8px}.ContentInfoWidget-module_icon__LEww1{color:var(--sem-color-fg-secondary-light-subtle)}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
6
|
+
var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
|
|
7
7
|
var Columns = require('@arc-ui/components/Columns');
|
|
8
8
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
9
9
|
var Heading = require('@arc-ui/components/Heading');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
4
|
-
import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
4
|
+
import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
|
|
5
5
|
import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
|
|
6
6
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
7
7
|
import { Heading } from '@arc-ui/components/Heading';
|
|
@@ -4,7 +4,7 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
6
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
7
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
7
|
+
var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
|
|
8
8
|
var AppButton = require('@arc-ui/components/AppButton');
|
|
9
9
|
var Grid = require('@arc-ui/components/Grid');
|
|
10
10
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js
|
|
|
2
2
|
import React, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
4
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
5
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
|
|
6
6
|
import { AppButton } from '@arc-ui/components/AppButton';
|
|
7
7
|
import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
|
|
8
8
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
6
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
7
7
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
8
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
8
|
+
var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
|
|
9
9
|
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
10
10
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
11
11
|
var InformationCard = require('@arc-ui/components/InformationCard');
|
|
@@ -3,7 +3,7 @@ import React, { useState, useRef, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
4
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
5
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
6
|
-
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-
|
|
6
|
+
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-DWVPneQL.js';
|
|
7
7
|
import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
|
|
8
8
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
9
9
|
import { InformationCard } from '@arc-ui/components/InformationCard';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
6
|
+
var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
|
|
7
7
|
var Carousel = require('@arc-ui/components/Carousel');
|
|
8
8
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
9
9
|
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React, { useId } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
|
-
import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-
|
|
4
|
+
import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-DWVPneQL.js';
|
|
5
5
|
import { Carousel } from '@arc-ui/components/Carousel';
|
|
6
6
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
7
7
|
import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
|
|
6
6
|
var Heading = require('@arc-ui/components/Heading');
|
|
7
7
|
var Text = require('@arc-ui/components/Text');
|
|
8
8
|
var Box = require('@arc-ui/components/Box');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
3
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
|
|
4
4
|
import { Heading } from '@arc-ui/components/Heading';
|
|
5
5
|
import { Text } from '@arc-ui/components/Text';
|
|
6
6
|
import { Box } from '@arc-ui/components/Box';
|