@itwin/itwinui-react 2.8.0 → 2.8.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1195](https://github.com/iTwin/iTwinUI/pull/1195): Fixed an issue with missing css in LabeledSelect.
8
+
3
9
  ## 2.8.0
4
10
 
5
11
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import '@itwin/itwinui-css/css/carousel.css';
3
3
  /**
4
- * The `CarouselDots` component shows a list of `CarouselDot` components which can be used to
4
+ * The `CarouselDotsList` component shows a list of `CarouselDot` components which can be used to
5
5
  * choose a specific slide. If used as a descendant of `Carousel`, then this component does not need
6
6
  * any props or `children`.
7
7
  *
@@ -15,7 +15,7 @@ const utils_1 = require("../utils");
15
15
  const CarouselDot_1 = require("./CarouselDot");
16
16
  require("@itwin/itwinui-css/css/carousel.css");
17
17
  /**
18
- * The `CarouselDots` component shows a list of `CarouselDot` components which can be used to
18
+ * The `CarouselDotsList` component shows a list of `CarouselDot` components which can be used to
19
19
  * choose a specific slide. If used as a descendant of `Carousel`, then this component does not need
20
20
  * any props or `children`.
21
21
  *
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { SelectProps } from '../Select/Select';
3
- import { LabeledInputProps } from '../LabeledInput';
4
- import '@itwin/itwinui-css/css/select.css';
2
+ import type { SelectProps } from '../Select/Select';
3
+ import type { LabeledInputProps } from '../LabeledInput';
4
+ import '@itwin/itwinui-css/css/input.css';
5
5
  export declare type LabeledSelectProps<T> = {
6
6
  /**
7
7
  * Label of the select.
@@ -11,7 +11,7 @@ exports.LabeledSelect = void 0;
11
11
  const react_1 = __importDefault(require("react"));
12
12
  const Select_1 = require("../Select");
13
13
  const utils_1 = require("../utils");
14
- require("@itwin/itwinui-css/css/select.css");
14
+ require("@itwin/itwinui-css/css/input.css");
15
15
  /**
16
16
  * Labeled select component to select value from options.
17
17
  * @example
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '@itwin/itwinui-css/css/utils.css';
2
3
  export declare type InputContainerProps<T extends React.ElementType = 'div'> = {
3
4
  as?: T;
4
5
  label?: React.ReactNode;
@@ -10,6 +10,7 @@ exports.InputContainer = void 0;
10
10
  *--------------------------------------------------------------------------------------------*/
11
11
  const react_1 = __importDefault(require("react"));
12
12
  const classnames_1 = __importDefault(require("classnames"));
13
+ require("@itwin/itwinui-css/css/utils.css");
13
14
  /**
14
15
  * Input container to wrap inputs with label, and add optional message and icon.
15
16
  * @private
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import '@itwin/itwinui-css/css/carousel.css';
3
3
  /**
4
- * The `CarouselDots` component shows a list of `CarouselDot` components which can be used to
4
+ * The `CarouselDotsList` component shows a list of `CarouselDot` components which can be used to
5
5
  * choose a specific slide. If used as a descendant of `Carousel`, then this component does not need
6
6
  * any props or `children`.
7
7
  *
@@ -9,7 +9,7 @@ import { getBoundedValue, getWindow, useMergedRefs, useResizeObserver, useTheme,
9
9
  import { CarouselDot } from './CarouselDot';
10
10
  import '@itwin/itwinui-css/css/carousel.css';
11
11
  /**
12
- * The `CarouselDots` component shows a list of `CarouselDot` components which can be used to
12
+ * The `CarouselDotsList` component shows a list of `CarouselDot` components which can be used to
13
13
  * choose a specific slide. If used as a descendant of `Carousel`, then this component does not need
14
14
  * any props or `children`.
15
15
  *
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { SelectProps } from '../Select/Select';
3
- import { LabeledInputProps } from '../LabeledInput';
4
- import '@itwin/itwinui-css/css/select.css';
2
+ import type { SelectProps } from '../Select/Select';
3
+ import type { LabeledInputProps } from '../LabeledInput';
4
+ import '@itwin/itwinui-css/css/input.css';
5
5
  export declare type LabeledSelectProps<T> = {
6
6
  /**
7
7
  * Label of the select.
@@ -5,7 +5,7 @@
5
5
  import React from 'react';
6
6
  import { Select } from '../Select';
7
7
  import { StatusIconMap, useTheme, InputContainer } from '../utils';
8
- import '@itwin/itwinui-css/css/select.css';
8
+ import '@itwin/itwinui-css/css/input.css';
9
9
  /**
10
10
  * Labeled select component to select value from options.
11
11
  * @example
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '@itwin/itwinui-css/css/utils.css';
2
3
  export declare type InputContainerProps<T extends React.ElementType = 'div'> = {
3
4
  as?: T;
4
5
  label?: React.ReactNode;
@@ -4,6 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import React from 'react';
6
6
  import cx from 'classnames';
7
+ import '@itwin/itwinui-css/css/utils.css';
7
8
  /**
8
9
  * Input container to wrap inputs with label, and add optional message and icon.
9
10
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "cjs/index.js",