Skip to content

Commit

Permalink
Merge branch 'main' into fix-typo-into-list-item-radio-with-amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Hantex9 authored Apr 23, 2024
2 parents 0a20b2d + 01f165e commit 499252a
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 124 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v1.36.1](https://github.com/pagopa/io-app-design-system/compare/v1.36.0...v1.36.1)

- chore: Let OTPInput reset value on demand by parent [`#248`](https://github.com/pagopa/io-app-design-system/pull/248)

#### [v1.36.0](https://github.com/pagopa/io-app-design-system/compare/v1.35.0...v1.36.0)

> 18 April 2024
- chore: add avatar prop to `ListItemNav` component [`#247`](https://github.com/pagopa/io-app-design-system/pull/247)
- [chore] Latest RN 0.72.12 version to run the example app on xCode 15 [`#224`](https://github.com/pagopa/io-app-design-system/pull/224)
- chore: release 1.36.0 [`ee84704`](https://github.com/pagopa/io-app-design-system/commit/ee84704092558d46427a5a9e38d032bf8bc11ef3)

#### [v1.35.0](https://github.com/pagopa/io-app-design-system/compare/v1.34.0...v1.35.0)

Expand Down
2 changes: 1 addition & 1 deletion example/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"

gem 'cocoapods', '~> 1.12'
gem 'cocoapods', '~> 1.15'
51 changes: 31 additions & 20 deletions example/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,35 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.6)
CFPropertyList (3.0.7)
base64
nkf
rexml
activesupport (6.1.7.4)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.4)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.7)
claide (1.1.0)
cocoapods (1.12.1)
cocoapods (1.15.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.12.1)
cocoapods-core (= 1.15.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.6.0, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
Expand All @@ -33,8 +41,8 @@ GEM
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.12.1)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand All @@ -45,7 +53,7 @@ GEM
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (1.6.3)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
Expand All @@ -54,44 +62,47 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
drb (2.2.1)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.15.5)
ffi (1.16.3)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.6.3)
minitest (5.18.1)
json (2.7.2)
minitest (5.22.3)
molinillo (0.8.0)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.2.5)
rexml (3.2.6)
ruby-macho (2.5.1)
typhoeus (1.4.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.22.0)
xcodeproj (1.24.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
zeitwerk (2.6.8)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.12)
cocoapods (~> 1.15)

RUBY VERSION
ruby 2.6.10p210
Expand Down
24 changes: 15 additions & 9 deletions example/src/pages/OTPInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {
IOStyles,
VSpacer,
OTPInput,
LabelSmall
LabelSmall,
ButtonSolid
} from "@pagopa/io-app-design-system";
import { useState } from "react";
import { Screen } from "../components/Screen";
Expand All @@ -30,14 +31,19 @@ const OTPWrapper = ({ secret = false, validation = false }: WrapperProps) => {
const onValidate = (v: string) => !validation || v === OTP_COMPARE;

return (
<OTPInput
value={value}
onValueChange={onValueChange}
length={OTP_LENGTH}
secret={secret}
onValidate={onValidate}
errorMessage={"Wrong OTP"}
/>
<>
<OTPInput
value={value}
accessibilityLabel={"OTP Input"}
onValueChange={onValueChange}
length={OTP_LENGTH}
secret={secret}
onValidate={onValidate}
errorMessage={"Wrong OTP"}
/>
<VSpacer />
<ButtonSolid onPress={() => setValue("")} label={"Pulisci valore"} />
</>
);
};
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pagopa/io-app-design-system",
"version": "1.36.0",
"version": "1.36.1",
"description": "The library defining the core components of the design system of @pagopa/io-app",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Loading

0 comments on commit 499252a

Please sign in to comment.